public class CoordinatorStoreService extends Object implements Service
Modifier and Type | Field and Description |
---|---|
static String |
TRANSIENT_VAR_PREFIX |
static String |
WORKFLOW_BEAN |
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND
Constructor and Description |
---|
CoordinatorStoreService() |
Modifier and Type | Method and Description |
---|---|
CoordinatorStore |
create()
Return a workflow store instance with a fresh transaction.
|
<S extends Store> |
create(S store)
Return a workflow store instance with an existing transaction.
|
void |
destroy()
Destroy the StoreService
|
Class<? extends Service> |
getInterface()
Return the public interface of the service.
|
void |
init(Services services)
Initializes the
StoreService . |
public static final String TRANSIENT_VAR_PREFIX
public static final String WORKFLOW_BEAN
public CoordinatorStoreService()
public Class<? extends Service> getInterface()
getInterface
in interface Service
WorkflowStoreService
.public CoordinatorStore create() throws StoreException
StoreException
- thrown if the workflow store could not be created.public <S extends Store> CoordinatorStore create(S store) throws StoreException
StoreException
- thrown if the workflow store could not be created.public void init(Services services) throws ServiceException
StoreService
.init
in interface Service
services
- services instance.ServiceException
- thrown if the service could not initialize.Copyright © 2014 Apache Software Foundation. All Rights Reserved.