net.sf.ehcache.transaction.manager.selector
Class ClassSelector
java.lang.Object
net.sf.ehcache.transaction.manager.selector.Selector
net.sf.ehcache.transaction.manager.selector.ClassSelector
- Direct Known Subclasses:
- AtomikosSelector
public abstract class ClassSelector
- extends Selector
Abstract selector for instanciating a class
- 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 |
ClassSelector
public ClassSelector(String vendor,
String classname)
- Constructor
- Parameters:
vendor
- the transaction manager vendor nameclassname
- the name of the class to instanciate
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.