Class JcaExecutorServiceManagedConnectionFactory
java.lang.Object
org.camunda.bpm.container.impl.threading.ra.outbound.JcaExecutorServiceManagedConnectionFactory
- All Implemented Interfaces:
Serializable,javax.resource.spi.ManagedConnectionFactory,javax.resource.spi.ResourceAdapterAssociation
@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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PrintWriterprotected javax.resource.spi.ResourceAdapter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConnectionFactory(javax.resource.spi.ConnectionManager cxManager) javax.resource.spi.ManagedConnectioncreateManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) booleanjavax.resource.spi.ResourceAdapterinthashCode()javax.resource.spi.ManagedConnectionmatchManagedConnections(Set connectionSet, Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) voidsetLogWriter(PrintWriter out) voidsetResourceAdapter(javax.resource.spi.ResourceAdapter ra)
-
Field Details
-
ra
protected javax.resource.spi.ResourceAdapter ra -
logwriter
-
-
Constructor Details
-
JcaExecutorServiceManagedConnectionFactory
public JcaExecutorServiceManagedConnectionFactory()
-
-
Method Details
-
createConnectionFactory
public Object createConnectionFactory(javax.resource.spi.ConnectionManager cxManager) throws javax.resource.ResourceException - Specified by:
createConnectionFactoryin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
createConnectionFactory
- Specified by:
createConnectionFactoryin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
createManagedConnection
public javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException - Specified by:
createManagedConnectionin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
matchManagedConnections
public javax.resource.spi.ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException - Specified by:
matchManagedConnectionsin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
getLogWriter
- Specified by:
getLogWriterin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
setLogWriter
- Specified by:
setLogWriterin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
getResourceAdapter
public javax.resource.spi.ResourceAdapter getResourceAdapter()- Specified by:
getResourceAdapterin interfacejavax.resource.spi.ResourceAdapterAssociation
-
setResourceAdapter
public void setResourceAdapter(javax.resource.spi.ResourceAdapter ra) - Specified by:
setResourceAdapterin interfacejavax.resource.spi.ResourceAdapterAssociation
-
hashCode
public int hashCode() -
equals
-