|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.service.URIHandlerService
public class URIHandlerService
Field Summary | |
---|---|
static String |
URI_HANDLER_DEFAULT
|
static String |
URI_HANDLER_SUPPORTED_SCHEMES_PREFIX
|
static String |
URI_HANDLER_SUPPORTED_SCHEMES_SUFFIX
|
static String |
URI_HANDLERS
|
Fields inherited from interface org.apache.oozie.service.Service |
---|
DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND |
Constructor Summary | |
---|---|
URIHandlerService()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the service. |
URI |
getAuthorityWithScheme(String uri)
Get the URI with scheme://host:port removing the path |
Set<Class<?>> |
getClassesForLauncher()
Return the classes to be shipped to the launcher |
Class<? extends Service> |
getInterface()
Return the public interface of the service. |
org.apache.hadoop.conf.Configuration |
getLauncherConfig()
Return the configuration required to use LauncherURIHandler in the launcher |
URIHandler |
getURIHandler(String uri)
|
URIHandler |
getURIHandler(URI uri)
|
URIHandler |
getURIHandler(URI uri,
boolean validateURI)
|
void |
init(Services services)
Initialize the service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String URI_HANDLERS
public static final String URI_HANDLER_DEFAULT
public static final String URI_HANDLER_SUPPORTED_SCHEMES_PREFIX
public static final String URI_HANDLER_SUPPORTED_SCHEMES_SUFFIX
Constructor Detail |
---|
public URIHandlerService()
Method Detail |
---|
public void init(Services services) throws ServiceException
Service
Service
singleton at start up time.
init
in interface Service
services
- services singleton initializing the service.
ServiceException
- thrown if the service could not initialize.public void destroy()
Service
Service
singleton at shutdown time.
destroy
in interface Service
public Class<? extends Service> getInterface()
Service
getInterface
in interface Service
public Set<Class<?>> getClassesForLauncher()
public org.apache.hadoop.conf.Configuration getLauncherConfig()
public URIHandler getURIHandler(String uri) throws URIHandlerException
URIHandlerException
public URIHandler getURIHandler(URI uri) throws URIHandlerException
URIHandlerException
public URIHandler getURIHandler(URI uri, boolean validateURI) throws URIHandlerException
URIHandlerException
public URI getAuthorityWithScheme(String uri) throws URIHandlerException
uri
- uri template
URIHandlerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |