|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.service.CoordinatorEngineService
public class CoordinatorEngineService
Service that return a coordinator engine for a user.
Field Summary |
---|
Fields inherited from interface org.apache.oozie.service.Service |
---|
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND |
Constructor Summary | |
---|---|
CoordinatorEngineService()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the service. |
CoordinatorEngine |
getCoordinatorEngine(String user,
String authToken)
Return a Coordinator engine. |
Class<? extends Service> |
getInterface()
Return the public interface of the Coordinator engine service. |
CoordinatorEngine |
getSystemCoordinatorEngine()
Return a Coordinator engine for a system user (no user, no group). |
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 |
Constructor Detail |
---|
public CoordinatorEngineService()
Method Detail |
---|
public void init(Services services)
init
in interface Service
services
- services instance.public void destroy()
destroy
in interface Service
public Class<? extends Service> getInterface()
getInterface
in interface Service
CoordinatorEngineService
.public CoordinatorEngine getCoordinatorEngine(String user, String authToken)
user
- user for the coordinator engine.authToken
- the authentication token.
public CoordinatorEngine getSystemCoordinatorEngine()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |