org.jboss.cache.factories
Class TransactionManagerFactory

java.lang.Object
  extended by org.jboss.cache.factories.ComponentFactory
      extended by org.jboss.cache.factories.TransactionManagerFactory

public class TransactionManagerFactory
extends ComponentFactory

Uses a number of mechanisms to retrieve a transaction manager.

Since:
2.1.0
Author:
Manik Surtani (manik@jboss.org)

Field Summary
 
Fields inherited from class org.jboss.cache.factories.ComponentFactory
componentRegistry, configuration, log
 
Constructor Summary
TransactionManagerFactory()
           
 
Method Summary
protected
<T> T
construct(String componentName, Class<T> componentType)
          Constructs a component.
 
Methods inherited from class org.jboss.cache.factories.ComponentFactory
assertTypeConstructable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManagerFactory

public TransactionManagerFactory()
Method Detail

construct

protected <T> T construct(String componentName,
                          Class<T> componentType)
Description copied from class: ComponentFactory
Constructs a component.

Specified by:
construct in class ComponentFactory
Parameters:
componentName - optional, if the ComponentName annotation is used with the parameter, it's value is passed in here for the implementing factory to use.
componentType - type of component
Returns:
a component


Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.