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

public Class WeblogicSelector

extends FactorySelector
Class Inheritance
Imports
net.sf.ehcache.transaction.xa.EhcacheXAResource, org.slf4j.Logger, .LoggerFactory, java.lang.reflect.Method, javax.transaction.xa.XAResource

A Selector for the Weblogic Server's JTA transaction manager
Author
Ludovic Orban

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public
WeblogicSelector()

Constructor

Method Summary

Modifier and TypeMethod and Description
public void
registerResource(EhcacheXAResource
the XAResource
ehcacheXAResource
,
boolean
true if this XAResource is being registered purely for recovery purpose
forRecovery
)

Overrides net.sf.ehcache.transaction.manager.selector.Selector.registerResource.

Register an XAResource with the transaction manager.
public void
unregisterResource(final EhcacheXAResource
the XAResource
ehcacheXAResource
,
final boolean
true if this XAResource was registered purely for recovery purpose
forRecovery
)

Overrides net.sf.ehcache.transaction.manager.selector.Selector.unregisterResource.

Unregister an XAResource from the transaction manager.
Inherited from net.sf.ehcache.transaction.manager.selector.FactorySelector:
doLookup

Field Detail

LOGback to summary
private static final Logger LOG

Hides net.sf.ehcache.transaction.manager.selector.FactorySelector.LOG.

Constructor Detail

WeblogicSelectorback to summary
public WeblogicSelector()

Constructor

Method Detail

registerResourceback to summary
public void registerResource(EhcacheXAResource ehcacheXAResource, boolean forRecovery)

Overrides net.sf.ehcache.transaction.manager.selector.Selector.registerResource.

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

Register an XAResource with the transaction manager.

Parameters
ehcacheXAResource:EhcacheXAResource

the XAResource

forRecovery:boolean

true if this XAResource is being registered purely for recovery purpose

Annotations
@Override
unregisterResourceback to summary
public void unregisterResource(final EhcacheXAResource ehcacheXAResource, final boolean forRecovery)

Overrides net.sf.ehcache.transaction.manager.selector.Selector.unregisterResource.

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

Unregister an XAResource from the transaction manager.

Parameters
ehcacheXAResource:EhcacheXAResource

the XAResource

forRecovery:boolean

true if this XAResource was registered purely for recovery purpose

Annotations
@Override