|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.InvocationContext
public class InvocationContext
This context holds information specific to a method invocation.
Constructor Summary | |
---|---|
InvocationContext()
|
Method Summary | |
---|---|
GlobalTransaction |
getGlobalTransaction()
Retrieves the global transaction associated with this invocation |
Option |
getOptionOverrides()
Retrieves the option overrides associated with this invocation |
javax.transaction.Transaction |
getTransaction()
Retrieves the transaction associated with this invocation |
boolean |
isLocalRollbackOnly()
|
boolean |
isOriginLocal()
Tests if this invocation originated locally or from a remote cache. |
boolean |
isTxHasMods()
|
void |
setGlobalTransaction(GlobalTransaction globalTransaction)
Sets the global transaction associated with this invocation |
void |
setLocalRollbackOnly(boolean localRollbackOnly)
|
void |
setOptionOverrides(Option optionOverrides)
Sets the option overrides associated with this invocation |
void |
setOriginLocal(boolean originLocal)
If set to true, the invocation is assumed to have originated locally. |
void |
setTransaction(javax.transaction.Transaction transaction)
Sets the transaction associated with this invocation |
void |
setTxHasMods(boolean b)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvocationContext()
Method Detail |
---|
public void setLocalRollbackOnly(boolean localRollbackOnly)
public javax.transaction.Transaction getTransaction()
public void setTransaction(javax.transaction.Transaction transaction)
transaction
- public GlobalTransaction getGlobalTransaction()
public void setGlobalTransaction(GlobalTransaction globalTransaction)
globalTransaction
- public Option getOptionOverrides()
public void setOptionOverrides(Option optionOverrides)
optionOverrides
- public boolean isOriginLocal()
public void setOriginLocal(boolean originLocal)
originLocal
- public java.lang.String toString()
toString
in class java.lang.Object
public boolean isTxHasMods()
public void setTxHasMods(boolean b)
public boolean isLocalRollbackOnly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |