|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbitronix.tm.resource.common.ResourceBean
net.sf.ehcache.transaction.manager.btm.EhCacheXAResourceProducer
public final class EhCacheXAResourceProducer
EHCache implementation of BTM's XAResourceProducer
| Method Summary | |
|---|---|
void |
close()
|
bitronix.tm.resource.common.XAStatefulHolder |
createPooledConnection(java.lang.Object xaFactory,
bitronix.tm.resource.common.ResourceBean bean)
|
void |
endRecovery()
|
bitronix.tm.resource.common.XAResourceHolder |
findXAResourceHolder(javax.transaction.xa.XAResource xaResource)
|
javax.naming.Reference |
getReference()
|
void |
init()
|
static void |
registerXAResource(java.lang.String uniqueName,
javax.transaction.xa.XAResource xaResource)
Register an XAResource of a cache with BTM. |
void |
setFailed(boolean failed)
|
bitronix.tm.internal.XAResourceHolderState |
startRecovery()
|
static void |
unregisterXAResource(java.lang.String uniqueName,
javax.transaction.xa.XAResource xaResource)
Unregister an XAResource of a cache from BTM. |
| Methods inherited from class bitronix.tm.resource.common.ResourceBean |
|---|
getAcquireIncrement, getAcquisitionInterval, getAcquisitionTimeout, getAllowLocalTransactions, getApplyTransactionTimeout, getAutomaticEnlistingEnabled, getClassName, getDeferConnectionRelease, getDriverProperties, getMaxIdleTime, getMaxPoolSize, getMinPoolSize, getTwoPcOrderingPosition, getUniqueName, getUseTmJoin, incCreatedResourcesCounter, setAcquireIncrement, setAcquisitionInterval, setAcquisitionTimeout, setAllowLocalTransactions, setApplyTransactionTimeout, setAutomaticEnlistingEnabled, setClassName, setDeferConnectionRelease, setDriverProperties, setMaxIdleTime, setMaxPoolSize, setMinPoolSize, setTwoPcOrderingPosition, setUniqueName, setUseTmJoin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface bitronix.tm.resource.common.XAResourceProducer |
|---|
getUniqueName |
| Method Detail |
|---|
public static void registerXAResource(java.lang.String uniqueName,
javax.transaction.xa.XAResource xaResource)
uniqueName - the uniqueName of this XAResourceProducer, usually the cache's namexaResource - the XAResource to be registered
public static void unregisterXAResource(java.lang.String uniqueName,
javax.transaction.xa.XAResource xaResource)
uniqueName - the uniqueName of this XAResourceProducer, usually the cache's namexaResource - the XAResource to be registered
public bitronix.tm.internal.XAResourceHolderState startRecovery()
throws bitronix.tm.recovery.RecoveryException
startRecovery in interface bitronix.tm.resource.common.XAResourceProducerbitronix.tm.recovery.RecoveryException
public void endRecovery()
throws bitronix.tm.recovery.RecoveryException
endRecovery in interface bitronix.tm.resource.common.XAResourceProducerbitronix.tm.recovery.RecoveryExceptionpublic void setFailed(boolean failed)
setFailed in interface bitronix.tm.resource.common.XAResourceProducerpublic bitronix.tm.resource.common.XAResourceHolder findXAResourceHolder(javax.transaction.xa.XAResource xaResource)
findXAResourceHolder in interface bitronix.tm.resource.common.XAResourceProducerpublic void init()
init in interface bitronix.tm.resource.common.XAResourceProducerpublic void close()
close in interface bitronix.tm.resource.common.XAResourceProducer
public bitronix.tm.resource.common.XAStatefulHolder createPooledConnection(java.lang.Object xaFactory,
bitronix.tm.resource.common.ResourceBean bean)
throws java.lang.Exception
createPooledConnection in interface bitronix.tm.resource.common.XAResourceProducerjava.lang.Exception
public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingException
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||