@ConnectionDefinition(connectionFactory=JcaExecutorServiceConnectionFactory.class, connectionFactoryImpl=JcaExecutorServiceConnectionFactoryImpl.class, connection=JcaExecutorServiceConnection.class, connectionImpl=JcaExecutorServiceConnectionImpl.class) public class JcaExecutorServiceManagedConnectionFactory extends Object implements javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ResourceAdapterAssociation
Modifier and Type | Field and Description |
---|---|
protected PrintWriter |
logwriter |
protected javax.resource.spi.ResourceAdapter |
ra |
Constructor and Description |
---|
JcaExecutorServiceManagedConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
createConnectionFactory() |
Object |
createConnectionFactory(javax.resource.spi.ConnectionManager cxManager) |
javax.resource.spi.ManagedConnection |
createManagedConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo) |
boolean |
equals(Object other) |
PrintWriter |
getLogWriter() |
javax.resource.spi.ResourceAdapter |
getResourceAdapter() |
int |
hashCode() |
javax.resource.spi.ManagedConnection |
matchManagedConnections(Set connectionSet,
Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo) |
void |
setLogWriter(PrintWriter out) |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra) |
protected javax.resource.spi.ResourceAdapter ra
protected PrintWriter logwriter
public JcaExecutorServiceManagedConnectionFactory()
public Object createConnectionFactory(javax.resource.spi.ConnectionManager cxManager) throws javax.resource.ResourceException
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public Object createConnectionFactory() throws javax.resource.ResourceException
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
createManagedConnection
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public javax.resource.spi.ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
matchManagedConnections
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public PrintWriter getLogWriter() throws javax.resource.ResourceException
getLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public void setLogWriter(PrintWriter out) throws javax.resource.ResourceException
setLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
public void setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
public int hashCode()
Copyright © 2017. All rights reserved.