Interface ResourceHandle
-
- All Known Implementing Classes:
AssocWithThreadResourceHandle,ResourceHandle
public interface ResourceHandleResourceHandle interface to be used by transaction manager components- Author:
- Marina Vatkina
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcloseUserConnection()voiddestroyResource()ObjectgetComponentInstance()XAResourcegetXAResource()booleanisEnlisted()booleanisEnlistmentSuspended()booleanisShareable()booleanisTransactional()voidsetComponentInstance(Object instance)voidsetEnlistmentSuspended(boolean enlistmentSuspended)booleansupportsXA()
-
-
-
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()
-
-