| 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.transaction.manager.selector.Selector
public abstract class Selector
Abstract class which is used to do various things related to JTA transaction managers, like looking them up, registering XAResources for recovery...
| Constructor Summary | |
|---|---|
protected  | 
Selector(String vendor)
Constructor  | 
| Method Summary | |
|---|---|
protected abstract  TransactionManager | 
doLookup()
Lookup the transaction manager.  | 
 TransactionManager | 
getTransactionManager()
Get the transaction manager, looking it up if necessary.  | 
 String | 
getVendor()
Get the vendor name  | 
 void | 
registerResource(EhcacheXAResource ehcacheXAResource,
                 boolean forRecovery)
Register an XAResource with the transaction manager.  | 
 void | 
unregisterResource(EhcacheXAResource ehcacheXAResource,
                   boolean forRecovery)
Unregister an XAResource from the transaction manager.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected Selector(String vendor)
vendor - an indicative transaction manager vendor name
               this selector is working with.| Method Detail | 
|---|
public String getVendor()
public TransactionManager getTransactionManager()
public void registerResource(EhcacheXAResource ehcacheXAResource,
                             boolean forRecovery)
ehcacheXAResource - the XAResourceforRecovery - true if this XAResource is being registered purely for recovery purpose
public void unregisterResource(EhcacheXAResource ehcacheXAResource,
                               boolean forRecovery)
ehcacheXAResource - the XAResourceforRecovery - true if this XAResource was registered purely for recovery purposeprotected abstract TransactionManager doLookup()
  | 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||