public final class ObjectStoreWorkflowStorage extends java.lang.Object implements WorkflowStorage
| Constructor and Description |
|---|
ObjectStoreWorkflowStorage() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(ComponentContext context)
declarative service activation method.
|
void |
deleteWorkflow(java.lang.String workflowName)
delete workflow with given name.
|
AnyMap |
getWorkflow(java.lang.String workflowName)
return workflow with given name.
|
java.util.Collection<java.lang.String> |
getWorkflowNames()
return names of all stored workflows.
|
void |
setObjectStore(ObjectStoreService objectStore)
service reference bind method.
|
void |
setStoreName(java.lang.String storeName)
for tests.
|
void |
setWorkflow(java.lang.String workflowName,
AnyMap workflow)
add/update workflow with given name.
|
void |
unsetObjectStore(ObjectStoreService objectStore)
service reference unbind method.
|
public void setObjectStore(ObjectStoreService objectStore)
public void unsetObjectStore(ObjectStoreService objectStore)
public void setStoreName(java.lang.String storeName)
protected void activate(ComponentContext context)
public void setWorkflow(java.lang.String workflowName,
AnyMap workflow)
throws ProcessingException
WorkflowStoragesetWorkflow in interface WorkflowStorageProcessingExceptionpublic void deleteWorkflow(java.lang.String workflowName)
throws ProcessingException
WorkflowStoragedeleteWorkflow in interface WorkflowStorageProcessingExceptionpublic AnyMap getWorkflow(java.lang.String workflowName) throws ProcessingException
WorkflowStoragegetWorkflow in interface WorkflowStorageProcessingExceptionpublic java.util.Collection<java.lang.String> getWorkflowNames()
throws ProcessingException
WorkflowStoragegetWorkflowNames in interface WorkflowStorageProcessingException