com.sun.enterprise.connectors.inbound
Class BasicResourceAllocator
java.lang.Object
com.sun.enterprise.resource.allocator.AbstractConnectorAllocator
com.sun.enterprise.connectors.inbound.BasicResourceAllocator
- All Implemented Interfaces:
- ResourceAllocator
public final class BasicResourceAllocator
- extends AbstractConnectorAllocator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicResourceAllocator
public BasicResourceAllocator()
createResource
public ResourceHandle createResource()
throws PoolingException
- Throws:
PoolingException
createResource
public ResourceHandle createResource(XAResource xaResource)
throws PoolingException
- Throws:
PoolingException
closeUserConnection
public void closeUserConnection(ResourceHandle resourceHandle)
throws PoolingException
- Specified by:
closeUserConnection in interface ResourceAllocator- Overrides:
closeUserConnection in class AbstractConnectorAllocator
- Throws:
PoolingException
matchConnection
public boolean matchConnection(ResourceHandle resourceHandle)
- Specified by:
matchConnection in interface ResourceAllocator- Overrides:
matchConnection in class AbstractConnectorAllocator
supportsReauthentication
public boolean supportsReauthentication()
- Specified by:
supportsReauthentication in interface ResourceAllocator- Overrides:
supportsReauthentication in class AbstractConnectorAllocator
cleanup
public void cleanup(ResourceHandle resourceHandle)
throws PoolingException
- Specified by:
cleanup in interface ResourceAllocator- Overrides:
cleanup in class AbstractConnectorAllocator
- Throws:
PoolingException
getInvalidConnections
public java.util.Set getInvalidConnections(java.util.Set connectionSet)
throws ResourceException
- Specified by:
getInvalidConnections in interface ResourceAllocator- Overrides:
getInvalidConnections in class AbstractConnectorAllocator
- Throws:
ResourceException
isConnectionValid
public boolean isConnectionValid(ResourceHandle resource)
- Specified by:
isConnectionValid in interface ResourceAllocator- Overrides:
isConnectionValid in class AbstractConnectorAllocator
Copyright © 2012 GlassFish Community. All Rights Reserved.