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 Details

    • ra

      protected javax.resource.spi.ResourceAdapter ra
    • logwriter

      protected PrintWriter logwriter
  • Constructor Details

    • JcaExecutorServiceManagedConnectionFactory

      public JcaExecutorServiceManagedConnectionFactory()
  • Method Details

    • createConnectionFactory

      public Object createConnectionFactory(javax.resource.spi.ConnectionManager cxManager) throws javax.resource.ResourceException
      Specified by:
      createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
      Throws:
      javax.resource.ResourceException
    • createConnectionFactory

      public Object createConnectionFactory() throws javax.resource.ResourceException
      Specified by:
      createConnectionFactory in interface javax.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:
      createManagedConnection in interface javax.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:
      matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactory
      Throws:
      javax.resource.ResourceException
    • getLogWriter

      public PrintWriter getLogWriter() throws javax.resource.ResourceException
      Specified by:
      getLogWriter in interface javax.resource.spi.ManagedConnectionFactory
      Throws:
      javax.resource.ResourceException
    • setLogWriter

      public void setLogWriter(PrintWriter out) throws javax.resource.ResourceException
      Specified by:
      setLogWriter in interface javax.resource.spi.ManagedConnectionFactory
      Throws:
      javax.resource.ResourceException
    • getResourceAdapter

      public javax.resource.spi.ResourceAdapter getResourceAdapter()
      Specified by:
      getResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
    • setResourceAdapter

      public void setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
      Specified by:
      setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface javax.resource.spi.ManagedConnectionFactory
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Specified by:
      equals in interface javax.resource.spi.ManagedConnectionFactory
      Overrides:
      equals in class Object