Class DefaultJCoManagedConnectionFactory

    • Field Detail

      • connectionDefinitions

        protected java.util.Map<java.lang.String,​java.lang.String> connectionDefinitions
        Connection definition.
      • genericFactory

        protected GenericFactory genericFactory
        Generic factory.
    • Constructor Detail

      • DefaultJCoManagedConnectionFactory

        public DefaultJCoManagedConnectionFactory​(java.util.Map<java.lang.String,​java.lang.String> connectionDefinitions)
        Constructor.
        Parameters:
        connectionDefinitions - connection definition.
    • Method Detail

      • getManagedConnection

        public JCoConnection getManagedConnection​(java.lang.String connectionName,
                                                  java.lang.String callerId)
        Description copied from interface: JCoManagedConnectionFactory
        Returns a managed connection by a given connection name.
        Specified by:
        getManagedConnection in interface JCoManagedConnectionFactory
        Parameters:
        connectionName - name of the connection
        callerId - id for identifying the caller used for debugging
        Returns:
        managed connection instance
      • getManagedConnection

        public JCoConnection getManagedConnection​(java.lang.String connectionName,
                                                  java.lang.String callerId,
                                                  java.lang.String destinationName)
        Description copied from interface: JCoManagedConnectionFactory
        Returns a managed connection by a given connection name.
        Specified by:
        getManagedConnection in interface JCoManagedConnectionFactory
        Parameters:
        connectionName - name of the connection
        callerId - id for identifying the caller used for debugging
        destinationName - name of the destination to be used
        Returns:
        managed connection instance
      • getGenericFactory

        public GenericFactory getGenericFactory()
        Getter for generic factory.
        Returns:
        generic factory instance.
      • setGenericFactory

        public void setGenericFactory​(GenericFactory genericFactory)
        Setter for generic factory.
        Parameters:
        genericFactory - generic factory instance