net.sf.ehcache.transaction.manager.selector
Class FactorySelector
java.lang.Object
net.sf.ehcache.transaction.manager.selector.Selector
net.sf.ehcache.transaction.manager.selector.FactorySelector
- Direct Known Subclasses:
- BitronixSelector, WeblogicSelector
public abstract class FactorySelector
- extends Selector
Abstract selector for calling a factory method
- Author:
- Ludovic Orban
Method Summary |
protected TransactionManager |
doLookup()
Lookup the transaction manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactorySelector
public FactorySelector(String vendor,
String factoryClassName,
String factoryMethodName)
- Constructor
- Parameters:
vendor
- the transaction manager vendor namefactoryClassName
- the class used to lookup the transaction managerfactoryMethodName
- the method to be called on the class used to lookup the transaction manager
doLookup
protected TransactionManager doLookup()
- Lookup the transaction manager.
- Specified by:
doLookup
in class Selector
- Returns:
- the transaction manager, or null if it could not be looked up.
Copyright 2001-2014, Terracotta, Inc.