@Deprecated public class OptimisticContextFactory extends PessimisticContextFactory
Constructor and Description |
---|
OptimisticContextFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TransactionContext |
createTransactionContext(Transaction tx)
Deprecated.
|
createInvocationContext, inject
public TransactionContext createTransactionContext(Transaction tx) throws SystemException, RollbackException
createTransactionContext
in interface ContextFactory
createTransactionContext
in class PessimisticContextFactory
tx
- JTA transaction to associate the new context withSystemException
- in the event of an invalid transactionRollbackException
- in the event of an invalid transaactionCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.