public interface ResourceAllocator
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(ResourceHandle resource) |
void |
closeUserConnection(ResourceHandle resource) |
ResourceHandle |
createResource() |
void |
destroyResource(ResourceHandle resource) |
void |
fillInResourceObjects(ResourceHandle resource) |
Set |
getInvalidConnections(Set connectionSet) |
Object |
getSharedConnection(ResourceHandle h) |
boolean |
hasValidatingMCF() |
boolean |
isConnectionValid(ResourceHandle resource) |
boolean |
isTransactional() |
boolean |
matchConnection(ResourceHandle h) |
boolean |
shareableWithinComponent() |
boolean |
supportsReauthentication() |
ResourceHandle createResource() throws PoolingException
PoolingExceptionvoid fillInResourceObjects(ResourceHandle resource) throws PoolingException
PoolingExceptionvoid closeUserConnection(ResourceHandle resource) throws PoolingException
PoolingExceptionvoid destroyResource(ResourceHandle resource) throws PoolingException
PoolingExceptionboolean matchConnection(ResourceHandle h)
boolean supportsReauthentication()
boolean isTransactional()
void cleanup(ResourceHandle resource) throws PoolingException
PoolingExceptionboolean shareableWithinComponent()
Object getSharedConnection(ResourceHandle h) throws PoolingException
PoolingExceptionSet getInvalidConnections(Set connectionSet) throws javax.resource.ResourceException
javax.resource.ResourceExceptionboolean isConnectionValid(ResourceHandle resource)
boolean hasValidatingMCF()
Copyright © 2019. All rights reserved.