@Deprecated public class PessimisticContextFactory extends Object implements ContextFactory
Constructor and Description |
---|
PessimisticContextFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
InvocationContext |
createInvocationContext()
Deprecated.
|
TransactionContext |
createTransactionContext(Transaction tx)
Deprecated.
|
void |
inject(DataContainer container)
Deprecated.
|
public void inject(DataContainer container)
public InvocationContext createInvocationContext()
createInvocationContext
in interface ContextFactory
public TransactionContext createTransactionContext(Transaction tx) throws SystemException, RollbackException
createTransactionContext
in interface ContextFactory
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.