Top Description Fields Constructors Methods
net.sf.ehcache.transaction.manager.selector

public abstract Class ClassSelector

extends Selector
Class Inheritance
Known Direct Subclasses
net.sf.ehcache.transaction.manager.selector.AtomikosSelector
Imports
org.slf4j.Logger, .LoggerFactory, javax.transaction.TransactionManager

Abstract selector for instanciating a class
Author
Ludovic Orban

Field Summary

Modifier and TypeField and Description
private final String
private static final Logger

Constructor Summary

AccessConstructor and Description
public
ClassSelector(String
the transaction manager vendor name
vendor
,
String
the name of the class to instanciate
classname
)

Constructor

Method Summary

Modifier and TypeMethod and Description
protected TransactionManager
doLookup()

Implements abstract net.sf.ehcache.transaction.manager.selector.Selector.doLookup.

Lookup the transaction manager.
Inherited from net.sf.ehcache.transaction.manager.selector.Selector:
getTransactionManagergetVendorregisterResourceunregisterResource

Field Detail

classnameback to summary
private final String classname
LOGback to summary
private static final Logger LOG

Constructor Detail

ClassSelectorback to summary
public ClassSelector(String vendor, String classname)

Constructor

Parameters
vendor:String

the transaction manager vendor name

classname:String

the name of the class to instanciate

Method Detail

doLookupback to summary
protected TransactionManager doLookup()

Implements abstract net.sf.ehcache.transaction.manager.selector.Selector.doLookup.

Doc from net.sf.ehcache.transaction.manager.selector.Selector.doLookup.

Lookup the transaction manager.

Returns:TransactionManager

the transaction manager, or null if it could not be looked up.

Annotations
@Override