ehcache

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

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

public class WeblogicSelector
extends FactorySelector

A Selector for the Weblogic Server's JTA transaction manager

Author:
Ludovic Orban

Constructor Summary
WeblogicSelector()
          Constructor
 
Method Summary
 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 net.sf.ehcache.transaction.manager.selector.FactorySelector
doLookup
 
Methods inherited from class net.sf.ehcache.transaction.manager.selector.Selector
getTransactionManager, getVendor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeblogicSelector

public WeblogicSelector()
Constructor

Method Detail

registerResource

public void registerResource(EhcacheXAResource ehcacheXAResource,
                             boolean forRecovery)
Register an XAResource with the transaction manager.

Overrides:
registerResource in class Selector
Parameters:
ehcacheXAResource - the XAResource
forRecovery - true if this XAResource is being registered purely for recovery purpose

unregisterResource

public void unregisterResource(EhcacheXAResource ehcacheXAResource,
                               boolean forRecovery)
Unregister an XAResource from the transaction manager.

Overrides:
unregisterResource in class Selector
Parameters:
ehcacheXAResource - the XAResource
forRecovery - true if this XAResource was registered purely for recovery purpose

ehcache

Copyright 2001-2014, Terracotta, Inc.