public class ActionService extends Object implements Service
| Modifier and Type | Field and Description |
|---|---|
static String |
CONF_ACTION_EXECUTOR_CLASSES |
static String |
CONF_ACTION_EXECUTOR_EXT_CLASSES |
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND| Constructor and Description |
|---|
ActionService() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the service.
|
ActionExecutor |
getExecutor(String actionType) |
Class<? extends Service> |
getInterface()
Return the public interface of the service.
|
void |
init(Services services)
Initialize the service.
|
void |
register(Class<? extends ActionExecutor> klass) |
public static final String CONF_ACTION_EXECUTOR_CLASSES
public static final String CONF_ACTION_EXECUTOR_EXT_CLASSES
public ActionService()
public void init(Services services) throws ServiceException
ServiceService singleton at start up time.init in interface Serviceservices - services singleton initializing the service.ServiceException - thrown if the service could not initialize.public void destroy()
ServiceService singleton at shutdown time.public Class<? extends Service> getInterface()
ServicegetInterface in interface Servicepublic void register(Class<? extends ActionExecutor> klass) throws ServiceException
ServiceExceptionpublic ActionExecutor getExecutor(String actionType)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.