org.infinispan.factories.context
Class DistContextFactory

java.lang.Object
  extended by org.infinispan.factories.context.DefaultContextFactory
      extended by 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

Constructor Summary
DistContextFactory()
           
 
Method Summary
 TransactionContext createTransactionContext(Transaction tx)
           
 
Methods inherited from class org.infinispan.factories.context.DefaultContextFactory
createInvocationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistContextFactory

public DistContextFactory()
Method Detail

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.