public interface ContextFactory
InvocationContext
s and TransactionContext
s
for requests, based on the configuration used.Modifier and Type | Method and Description |
---|---|
InvocationContext |
createInvocationContext() |
TransactionContext |
createTransactionContext(Transaction tx) |
InvocationContext createInvocationContext()
TransactionContext createTransactionContext(Transaction tx) throws SystemException, RollbackException
tx
- JTA transaction to associate the new context withRollbackException
- in the event of an invalid transaactionSystemException
- in the event of an invalid transactionCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.