public class LocalTxConnectorAllocator extends AbstractConnectorAllocator
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
shareable |
| Constructor and Description |
|---|
LocalTxConnectorAllocator(PoolManager poolMgr,
javax.resource.spi.ManagedConnectionFactory mcf,
ResourceSpec spec,
Subject subject,
javax.resource.spi.ConnectionRequestInfo reqInfo,
ClientSecurityInfo info,
ConnectorDescriptor desc,
boolean shareable) |
| Modifier and Type | Method and Description |
|---|---|
ResourceHandle |
createResource() |
void |
destroyResource(ResourceHandle resource) |
void |
fillInResourceObjects(ResourceHandle resource) |
boolean |
shareableWithinComponent() |
cleanup, closeUserConnection, createResourceHandle, getInvalidConnections, getSharedConnection, hasValidatingMCF, isConnectionValid, isTransactional, matchConnection, supportsReauthenticationpublic LocalTxConnectorAllocator(PoolManager poolMgr, javax.resource.spi.ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, javax.resource.spi.ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc, boolean shareable)
public ResourceHandle createResource() throws PoolingException
PoolingExceptionpublic void fillInResourceObjects(ResourceHandle resource) throws PoolingException
fillInResourceObjects in interface ResourceAllocatorfillInResourceObjects in class AbstractConnectorAllocatorPoolingExceptionpublic void destroyResource(ResourceHandle resource) throws PoolingException
destroyResource in interface ResourceAllocatordestroyResource in class AbstractConnectorAllocatorPoolingExceptionpublic boolean shareableWithinComponent()
shareableWithinComponent in interface ResourceAllocatorshareableWithinComponent in class AbstractConnectorAllocatorCopyright © 2017. All rights reserved.