|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectshocks.framework.workflow.sequence.repository.SequenceRepositoryProxy
Constructor Summary | |
SequenceRepositoryProxy(javax.management.ObjectName objName)
|
Method Summary | |
void |
addWorkflow(Workflow sequence)
Returns the current operating version of a workflow sequence. |
Workflow |
leaseWorkflow(DataSource metadata)
Leases a workflow component from the instance pool. |
void |
release(Workflow sequence)
Releases a leased workflow component back into the instance pool. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SequenceRepositoryProxy(javax.management.ObjectName objName)
Method Detail |
public Workflow leaseWorkflow(DataSource metadata)
SequenceRepository
Leases a workflow component from the instance pool. This component should be released back into the instance pool once it is no longer needed.
leaseWorkflow
in interface SequenceRepository
metadata
-
public void release(Workflow sequence)
SequenceRepository
Releases a leased workflow component back into the instance pool. The method will sort the workflow component by name and version.
release
in interface SequenceRepository
sequence
- public void addWorkflow(Workflow sequence)
SequenceRepository
Returns the current operating version of a workflow sequence. Each workflow sequence is identified by a metadata component whose values amount to a composite key.
addWorkflow
in interface SequenceRepository
sequence
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |