net.sourceforge.hivetranse.transaction
Class TransactionInterceptorFactory

java.lang.Object
  extended by net.sourceforge.hivetranse.transaction.TransactionInterceptorFactory
All Implemented Interfaces:
org.apache.hivemind.ServiceInterceptorFactory

public class TransactionInterceptorFactory
extends java.lang.Object
implements org.apache.hivemind.ServiceInterceptorFactory

This service creates service interceptors that manage transactions.

Each interceptor, depending on its configuration for the given service, will manage transaction creation/commit/rollback upon situations.

Author:
Jean-Francois Poilpret

Constructor Summary
TransactionInterceptorFactory(org.apache.commons.logging.Log logger, TransactionService manager, java.util.List defaults)
           
 
Method Summary
 void createInterceptor(org.apache.hivemind.InterceptorStack stack, org.apache.hivemind.internal.Module invokingMod, java.util.List parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionInterceptorFactory

public TransactionInterceptorFactory(org.apache.commons.logging.Log logger,
                                     TransactionService manager,
                                     java.util.List defaults)
Method Detail

createInterceptor

public void createInterceptor(org.apache.hivemind.InterceptorStack stack,
                              org.apache.hivemind.internal.Module invokingMod,
                              java.util.List parameters)
Specified by:
createInterceptor in interface org.apache.hivemind.ServiceInterceptorFactory