Interface ResourceHandle
-
- All Known Implementing Classes:
AssocWithThreadResourceHandle
,ResourceHandle
public interface ResourceHandle
ResourceHandle interface to be used by transaction manager components- Author:
- Marina Vatkina
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closeUserConnection()
void
destroyResource()
Object
getComponentInstance()
XAResource
getXAResource()
boolean
isEnlisted()
boolean
isEnlistmentSuspended()
boolean
isShareable()
boolean
isTransactional()
void
setComponentInstance(Object instance)
void
setEnlistmentSuspended(boolean enlistmentSuspended)
boolean
supportsXA()
-
-
-
Method Detail
-
isTransactional
boolean isTransactional()
-
isEnlistmentSuspended
boolean isEnlistmentSuspended()
-
setEnlistmentSuspended
void setEnlistmentSuspended(boolean enlistmentSuspended)
-
getXAResource
XAResource getXAResource()
-
supportsXA
boolean supportsXA()
-
getComponentInstance
Object getComponentInstance()
-
setComponentInstance
void setComponentInstance(Object instance)
-
closeUserConnection
void closeUserConnection() throws PoolingException
- Throws:
PoolingException
-
isEnlisted
boolean isEnlisted()
-
isShareable
boolean isShareable()
-
destroyResource
void destroyResource()
-
-