Class LocalTxConnectorAllocator
- java.lang.Object
-
- com.sun.enterprise.resource.allocator.AbstractConnectorAllocator
-
- com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator
-
- All Implemented Interfaces:
ResourceAllocator
public class LocalTxConnectorAllocator extends AbstractConnectorAllocator
- Author:
- Tony Ng
-
-
Constructor Summary
Constructors Constructor Description LocalTxConnectorAllocator(PoolManager poolMgr, jakarta.resource.spi.ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, jakarta.resource.spi.ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc, boolean shareable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceHandlecreateResource()voiddestroyResource(ResourceHandle resource)voidfillInResourceObjects(ResourceHandle resource)booleanshareableWithinComponent()-
Methods inherited from class com.sun.enterprise.resource.allocator.AbstractConnectorAllocator
cleanup, closeUserConnection, createResourceHandle, getInvalidConnections, getSharedConnection, hasValidatingMCF, isConnectionValid, isTransactional, matchConnection, supportsReauthentication
-
-
-
-
Constructor Detail
-
LocalTxConnectorAllocator
public LocalTxConnectorAllocator(PoolManager poolMgr, jakarta.resource.spi.ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, jakarta.resource.spi.ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc, boolean shareable)
-
-
Method Detail
-
createResource
public ResourceHandle createResource() throws PoolingException
- Throws:
PoolingException
-
fillInResourceObjects
public void fillInResourceObjects(ResourceHandle resource) throws PoolingException
- Specified by:
fillInResourceObjectsin interfaceResourceAllocator- Overrides:
fillInResourceObjectsin classAbstractConnectorAllocator- Throws:
PoolingException
-
destroyResource
public void destroyResource(ResourceHandle resource) throws PoolingException
- Specified by:
destroyResourcein interfaceResourceAllocator- Overrides:
destroyResourcein classAbstractConnectorAllocator- Throws:
PoolingException
-
shareableWithinComponent
public boolean shareableWithinComponent()
- Specified by:
shareableWithinComponentin interfaceResourceAllocator- Overrides:
shareableWithinComponentin classAbstractConnectorAllocator
-
-