|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectResourceBean
net.sf.ehcache.transaction.manager.btm.GenericXAResourceProducer
public class GenericXAResourceProducer
Constructor Summary | |
---|---|
GenericXAResourceProducer()
|
Method Summary | |
---|---|
void |
close()
|
XAStatefulHolder |
createPooledConnection(java.lang.Object xaFactory,
ResourceBean bean)
|
void |
endRecovery()
|
XAResourceHolder |
findXAResourceHolder(javax.transaction.xa.XAResource aXAResource)
|
javax.naming.Reference |
getReference()
PoolingDataSource must alway have a unique name so this method builds a reference to this object using the unique name as RefAddr . |
void |
init()
Need to instantiate the XAResource. |
static void |
registerXAResource(java.lang.String uniqueName,
javax.transaction.xa.XAResource resource)
Util for reflection based handling |
void |
setFailed(boolean failed)
|
void |
setXAResource(javax.transaction.xa.XAResource resource)
|
XAResourceHolderState |
startRecovery()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericXAResourceProducer()
Method Detail |
---|
public static void registerXAResource(java.lang.String uniqueName, javax.transaction.xa.XAResource resource)
uniqueName
- resource
- public void setXAResource(javax.transaction.xa.XAResource resource)
resource
- public void init()
public XAResourceHolderState startRecovery() throws RecoveryException
RecoveryException
public void endRecovery() throws RecoveryException
RecoveryException
public void setFailed(boolean failed)
public void close()
public XAStatefulHolder createPooledConnection(java.lang.Object xaFactory, ResourceBean bean) throws java.lang.Exception
java.lang.Exception
public XAResourceHolder findXAResourceHolder(javax.transaction.xa.XAResource aXAResource)
public javax.naming.Reference getReference()
RefAddr
.
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |