org.ehcache.transactions.xa.txmgr.provider
Class DefaultTransactionManagerProvider

java.lang.Object
  extended by org.ehcache.transactions.xa.txmgr.provider.DefaultTransactionManagerProvider
All Implemented Interfaces:
Service, TransactionManagerProvider

public class DefaultTransactionManagerProvider
extends java.lang.Object
implements TransactionManagerProvider

The default TransactionManagerProvider implementation.


Constructor Summary
DefaultTransactionManagerProvider(TransactionManagerProviderConfiguration config)
           
 
Method Summary
 TransactionManagerWrapper getTransactionManagerWrapper()
          Return an instance of TransactionManagerWrapper.
 void start(ServiceProvider serviceProvider)
          Start this service using the provided configuration and ServiceProvider.
 void stop()
          Stops this service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTransactionManagerProvider

public DefaultTransactionManagerProvider(TransactionManagerProviderConfiguration config)
Method Detail

getTransactionManagerWrapper

public TransactionManagerWrapper getTransactionManagerWrapper()
Description copied from interface: TransactionManagerProvider
Return an instance of TransactionManagerWrapper.

Specified by:
getTransactionManagerWrapper in interface TransactionManagerProvider
Returns:
the TransactionManagerWrapper.

start

public void start(ServiceProvider serviceProvider)
Description copied from interface: Service
Start this service using the provided configuration and ServiceProvider.

The goal of the service provider is to allow a service to use other services.

Specified by:
start in interface Service
Parameters:
serviceProvider - the service provider.

stop

public void stop()
Description copied from interface: Service
Stops this service.

Specified by:
stop in interface Service