|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.cache.factories.context.PessimisticContextFactory
org.jboss.cache.factories.context.OptimisticContextFactory
@Deprecated public class OptimisticContextFactory
Constructs contexts for optimistic locking
Constructor Summary | |
---|---|
OptimisticContextFactory()
Deprecated. |
Method Summary | |
---|---|
TransactionContext |
createTransactionContext(javax.transaction.Transaction tx)
Deprecated. |
Methods inherited from class org.jboss.cache.factories.context.PessimisticContextFactory |
---|
createInvocationContext, inject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptimisticContextFactory()
Method Detail |
---|
public TransactionContext createTransactionContext(javax.transaction.Transaction tx) throws javax.transaction.SystemException, javax.transaction.RollbackException
createTransactionContext
in interface ContextFactory
createTransactionContext
in class PessimisticContextFactory
tx
- JTA transaction to associate the new context with
javax.transaction.SystemException
- in the event of an invalid transaction
javax.transaction.RollbackException
- in the event of an invalid transaaction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |