ehcache

net.sf.ehcache.transaction.manager.selector
Class NullSelector

java.lang.Object
  extended by net.sf.ehcache.transaction.manager.selector.Selector
      extended by net.sf.ehcache.transaction.manager.selector.NullSelector

public class NullSelector
extends Selector

A selector that always returns a null transaction manager

Author:
Ludovic Orban

Constructor Summary
NullSelector()
          Constructor
 
Method Summary
protected  TransactionManager doLookup()
          Lookup the transaction manager.
 
Methods inherited from class net.sf.ehcache.transaction.manager.selector.Selector
getTransactionManager, getVendor, registerResource, unregisterResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullSelector

public NullSelector()
Constructor

Method Detail

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.

ehcache

Copyright 2001-2014, Terracotta, Inc.