|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.wire.operation.EnlistOperation
public class EnlistOperation
enlists this Resource
with the current Transaction
.
This Operation
specifies that the object on which this operation is applied
should be added as a Resource
to the specified Transaction
.
property transactionName refers to the objectName of the Transaction
and it may not be null.
Constructor Summary | |
---|---|
EnlistOperation()
|
Method Summary | |
---|---|
void |
apply(java.lang.Object target,
WireContext wireContext)
Apply this operation to the specified object, defined in the specified WireContext . |
java.lang.String |
getTransactionName()
Gets the name of the transaction to which the object should be added. |
void |
setTransactionName(java.lang.String transactionName)
Sets the name of the transaction to which the object should be added. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnlistOperation()
Method Detail |
---|
public void apply(java.lang.Object target, WireContext wireContext)
Operation
WireContext
.
apply
in interface Operation
target
- object on which the operation should be performed.wireContext
- context in which the operation is applied.
WireException
- if this operation is applied on an object which is not a resource
or if the specified transaction cannot be found.public java.lang.String getTransactionName()
public void setTransactionName(java.lang.String transactionName)
transactionName
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |