Uses of Class
com.sun.enterprise.resource.ResourceSpec
-
Packages that use ResourceSpec Package Description com.sun.enterprise.resource com.sun.enterprise.resource.allocator com.sun.enterprise.resource.pool -
-
Uses of ResourceSpec in com.sun.enterprise.resource
Methods in com.sun.enterprise.resource that return ResourceSpec Modifier and Type Method Description ResourceSpecResourceHandle. getResourceSpec()Methods in com.sun.enterprise.resource with parameters of type ResourceSpec Modifier and Type Method Description voidResourceHandle. setResourceSpec(ResourceSpec spec)Constructors in com.sun.enterprise.resource with parameters of type ResourceSpec Constructor Description AssocWithThreadResourceHandle(Object resource, ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info)ConnectorXAResource(ResourceHandle handle, ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info)ResourceHandle(Object resource, ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info) -
Uses of ResourceSpec in com.sun.enterprise.resource.allocator
Fields in com.sun.enterprise.resource.allocator declared as ResourceSpec Modifier and Type Field Description protected ResourceSpecAbstractConnectorAllocator. specMethods in com.sun.enterprise.resource.allocator with parameters of type ResourceSpec Modifier and Type Method Description protected ResourceHandleAbstractConnectorAllocator. createResourceHandle(Object resource, ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info)Constructors in com.sun.enterprise.resource.allocator with parameters of type ResourceSpec Constructor Description AbstractConnectorAllocator(PoolManager poolMgr, jakarta.resource.spi.ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, jakarta.resource.spi.ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc)ConnectorAllocator(PoolManager poolMgr, jakarta.resource.spi.ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, jakarta.resource.spi.ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc, boolean shareable)LocalTxConnectorAllocator(PoolManager poolMgr, jakarta.resource.spi.ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, jakarta.resource.spi.ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc, boolean shareable)NoTxConnectorAllocator(PoolManager poolMgr, jakarta.resource.spi.ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, jakarta.resource.spi.ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc) -
Uses of ResourceSpec in com.sun.enterprise.resource.pool
Methods in com.sun.enterprise.resource.pool with parameters of type ResourceSpec Modifier and Type Method Description protected ResourceHandleConnectionPool. createSingleResourceAndAdjustPool(ResourceAllocator alloc, ResourceSpec spec)This method will be called from the getUnenlistedResource method if we detect a failAllConnection flag.voidAbstractPoolManager. emptyResourcePool(ResourceSpec spec)voidPoolManager. emptyResourcePool(ResourceSpec spec)ResourceHandleConnectionPool. getResource(ResourceSpec spec, ResourceAllocator alloc, jakarta.transaction.Transaction txn)returns resource from the pool.ObjectPoolManager. getResource(ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info)Obtain a transactional resource such as JDBC connectionObjectPoolManagerImpl. getResource(ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info)ResourceHandleResourcePool. getResource(ResourceSpec spec, ResourceAllocator alloc, jakarta.transaction.Transaction tran)protected ResourceHandleConnectionPool. getResourceFromPool(ResourceAllocator alloc, ResourceSpec spec)return resource in free list.ResourceHandlePoolManager. getResourceFromPool(ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info, jakarta.transaction.Transaction tran)ResourceHandlePoolManagerImpl. getResourceFromPool(ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info, jakarta.transaction.Transaction tran)protected ResourceHandleAssocWithThreadResourcePool. getUnenlistedResource(ResourceSpec spec, ResourceAllocator alloc, jakarta.transaction.Transaction tran)return resource in free list.protected ResourceHandleConnectionPool. getUnenlistedResource(ResourceSpec spec, ResourceAllocator alloc, jakarta.transaction.Transaction tran)To provide an unenlisted, valid, matched resource from pool.protected ResourceHandleUnpooledResource. getUnenlistedResource(ResourceSpec spec, ResourceAllocator alloc, jakarta.transaction.Transaction tran)protected ResourceHandleConnectionPool. internalGetResource(ResourceSpec spec, ResourceAllocator alloc, jakarta.transaction.Transaction tran)protected ResourceHandleAssocWithThreadResourcePool. prefetch(ResourceSpec spec, ResourceAllocator alloc, jakarta.transaction.Transaction tran)Prefetch is called to check whether there there is a free resource is already associated with the thread Only when prefetch is unable to find a resource, normal routine (getUnenlistedResource) will happen.protected ResourceHandleConnectionPool. prefetch(ResourceSpec spec, ResourceAllocator alloc, jakarta.transaction.Transaction tran)Overridden in AssocWithThreadResourcePool to fetch the resource cached in the ThreadLocal In ConnectionPool this simply returns null.protected ResourceHandleUnpooledResource. prefetch(ResourceSpec spec, ResourceAllocator alloc, jakarta.transaction.Transaction tran)
-