Class AbstractManagedConnectionFactoryImpl

    • Constructor Detail

      • AbstractManagedConnectionFactoryImpl

        public AbstractManagedConnectionFactoryImpl()
      • AbstractManagedConnectionFactoryImpl

        public AbstractManagedConnectionFactoryImpl​(Properties props)
    • Method Detail

      • createConnectionFactory

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

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

        public abstract javax.resource.spi.ManagedConnection createManagedConnection​(Subject subject,
                                                                                     javax.resource.spi.ConnectionRequestInfo connReqInfo)
                                                                              throws javax.resource.ResourceException
        Specified by:
        createManagedConnection in interface javax.resource.spi.ManagedConnectionFactory
        Throws:
        javax.resource.ResourceException
      • close

        public abstract void close()
                            throws javax.resource.spi.ResourceAdapterInternalException
        Throws:
        javax.resource.spi.ResourceAdapterInternalException
      • validateReference

        protected abstract void validateReference​(AbstractManagedConnectionImpl conn,
                                                  Subject subject)
                                           throws javax.resource.spi.ResourceAdapterInternalException
        Throws:
        javax.resource.spi.ResourceAdapterInternalException
      • matchManagedConnections

        public javax.resource.spi.ManagedConnection matchManagedConnections​(Set aMCSet,
                                                                            Subject subject,
                                                                            javax.resource.spi.ConnectionRequestInfo crInfo)
                                                                     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 aPrintWriter)
                          throws javax.resource.ResourceException
        Specified by:
        setLogWriter in interface javax.resource.spi.ManagedConnectionFactory
        Throws:
        javax.resource.ResourceException