|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbitronix.tm.resource.common.AbstractXAStatefulHolder
bitronix.tm.resource.common.AbstractXAResourceHolder
bitronix.tm.resource.common.RecoveryXAResourceHolder
public class RecoveryXAResourceHolder
XAResourceHolder
created by an XAResourceProducer
that is
used to perform recovery. Objects of this class cannot be used outside recovery scope.
Field Summary |
---|
Fields inherited from interface bitronix.tm.resource.common.XAStatefulHolder |
---|
STATE_ACCESSIBLE, STATE_CLOSED, STATE_IN_POOL, STATE_NOT_ACCESSIBLE |
Constructor Summary | |
---|---|
RecoveryXAResourceHolder(XAResourceHolder xaResourceHolder)
|
Method Summary | |
---|---|
void |
close()
Close the physical connection that this XAStatefulHolder represents. |
Object |
getConnectionHandle()
Create a disposable handler used to drive a pooled instance of XAStatefulHolder . |
Date |
getLastReleaseDate()
Get the date at which this object was last released to the pool. |
ResourceBean |
getResourceBean()
Get the ResourceBean which created this XAResourceHolder. |
XAResource |
getXAResource()
Get the vendor's XAResource implementation of the wrapped resource. |
List |
getXAResourceHolders()
Get the list of XAResourceHolder s created by this
XAStatefulHolder that are still open. |
Methods inherited from class bitronix.tm.resource.common.AbstractXAResourceHolder |
---|
getXAResourceHolderStateGtrids, getXAResourceHolderStatesForGtrid, hasStateForXAResource, isParticipatingInActiveGlobalTransaction, putXAResourceHolderState, removeXAResourceHolderState |
Methods inherited from class bitronix.tm.resource.common.AbstractXAStatefulHolder |
---|
addStateChangeEventListener, getState, removeStateChangeEventListener, setState |
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.XAStatefulHolder |
---|
addStateChangeEventListener, getState, removeStateChangeEventListener, setState |
Constructor Detail |
---|
public RecoveryXAResourceHolder(XAResourceHolder xaResourceHolder)
Method Detail |
---|
public void close() throws Exception
XAStatefulHolder
XAStatefulHolder
represents.
Exception
- a resource-specific exception thrown when there is an error closing the physical connection.public Date getLastReleaseDate()
XAStatefulHolder
public XAResource getXAResource()
XAResourceHolder
XAResource
implementation of the wrapped resource.
public ResourceBean getResourceBean()
XAResourceHolder
public List getXAResourceHolders()
XAStatefulHolder
XAResourceHolder
s created by this
XAStatefulHolder
that are still open.
This method is thread-safe.
XAResourceHolder
s created by this
XAStatefulHolder
that are still open.public Object getConnectionHandle() throws Exception
XAStatefulHolder
XAStatefulHolder
.
This method is thread-safe.
Exception
- a resource-specific exception thrown when the disaposable connection cannot be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |