org.infinispan.factories.context
Class DistContextFactory
java.lang.Object
org.infinispan.factories.context.DefaultContextFactory
org.infinispan.factories.context.DistContextFactory
- All Implemented Interfaces:
- ContextFactory
public class DistContextFactory
- extends DefaultContextFactory
A context factory specific to DIST contexts
- Since:
- 4.0
- Author:
- Manik Surtani
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistContextFactory
public DistContextFactory()
createTransactionContext
public TransactionContext createTransactionContext(Transaction tx)
throws SystemException,
RollbackException
- Specified by:
createTransactionContext
in interface ContextFactory
- Overrides:
createTransactionContext
in class DefaultContextFactory
- Parameters:
tx
- JTA transaction to associate the new context with
- Returns:
- a new transaction context
- Throws:
SystemException
- in the event of an invalid transaction
RollbackException
- in the event of an invalid transaaction
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.