public final class BasicResourceAllocator extends AbstractConnectorAllocator
| Constructor and Description |
|---|
BasicResourceAllocator() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(ResourceHandle resourceHandle) |
void |
closeUserConnection(ResourceHandle resourceHandle) |
ResourceHandle |
createResource() |
ResourceHandle |
createResource(XAResource xaResource) |
Set |
getInvalidConnections(Set connectionSet) |
boolean |
isConnectionValid(ResourceHandle resource) |
boolean |
matchConnection(ResourceHandle resourceHandle) |
boolean |
supportsReauthentication() |
createResourceHandle, destroyResource, fillInResourceObjects, getSharedConnection, hasValidatingMCF, isTransactional, shareableWithinComponentpublic ResourceHandle createResource() throws PoolingException
PoolingExceptionpublic ResourceHandle createResource(XAResource xaResource) throws PoolingException
PoolingExceptionpublic void closeUserConnection(ResourceHandle resourceHandle) throws PoolingException
closeUserConnection in interface ResourceAllocatorcloseUserConnection in class AbstractConnectorAllocatorPoolingExceptionpublic boolean matchConnection(ResourceHandle resourceHandle)
matchConnection in interface ResourceAllocatormatchConnection in class AbstractConnectorAllocatorpublic boolean supportsReauthentication()
supportsReauthentication in interface ResourceAllocatorsupportsReauthentication in class AbstractConnectorAllocatorpublic void cleanup(ResourceHandle resourceHandle) throws PoolingException
cleanup in interface ResourceAllocatorcleanup in class AbstractConnectorAllocatorPoolingExceptionpublic Set getInvalidConnections(Set connectionSet) throws javax.resource.ResourceException
getInvalidConnections in interface ResourceAllocatorgetInvalidConnections in class AbstractConnectorAllocatorjavax.resource.ResourceExceptionpublic boolean isConnectionValid(ResourceHandle resource)
isConnectionValid in interface ResourceAllocatorisConnectionValid in class AbstractConnectorAllocatorCopyright © 2019. All rights reserved.