|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.orchestra.pvm.internal.wire.operation.EnlistOperation
public class EnlistOperation
enlists this StandardResource with the current Transaction.
This Operation specifies that the object on which this operation is
applied should be added as a StandardResource 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(Object target,
WireContext wireContext)
Apply this operation to the specified object, defined in the specified WireContext. |
String |
getTransactionName()
Gets the name of the transaction to which the object should be added. |
void |
setTransactionName(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(Object target,
WireContext wireContext)
OperationWireContext.
apply in interface Operationtarget - 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 String getTransactionName()
public void setTransactionName(String transactionName)
transactionName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||