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

public Class BitronixSelector

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 Bitronix Transaction Manager.
Author
Ludovic Orban

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public
BitronixSelector()

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(EhcacheXAResource
the XAResource
ehcacheXAResource
,
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

BitronixSelectorback to summary
public BitronixSelector()

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(EhcacheXAResource ehcacheXAResource, 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