Class ManagedConnectionImpl

    • Constructor Detail

      • ManagedConnectionImpl

        public ManagedConnectionImpl​(ManagedConnectionFactoryImpl managedFactory,
                                     javax.resource.spi.ConnectionRequestInfo crInfo,
                                     Subject subject)
                              throws javax.resource.ResourceException
        Throws:
        javax.resource.ResourceException
    • Method Detail

      • associateConnection

        public void associateConnection​(Object connection)
                                 throws javax.resource.ResourceException
        Specified by:
        associateConnection in interface javax.resource.spi.ManagedConnection
        Specified by:
        associateConnection in class AbstractManagedConnectionImpl
        Throws:
        javax.resource.ResourceException
      • getCXFService

        public Object getCXFService()
      • getConnection

        public Object getConnection​(Subject subject,
                                    javax.resource.spi.ConnectionRequestInfo crInfo)
                             throws javax.resource.ResourceException
        Specified by:
        getConnection in interface javax.resource.spi.ManagedConnection
        Specified by:
        getConnection in class AbstractManagedConnectionImpl
        Throws:
        javax.resource.ResourceException
      • getCXFConnection

        public Object getCXFConnection​(Subject subject,
                                       javax.resource.spi.ConnectionRequestInfo crInfo)
                                throws javax.resource.ResourceException
        Throws:
        javax.resource.ResourceException
      • getMetaData

        public javax.resource.spi.ManagedConnectionMetaData getMetaData()
                                                                 throws javax.resource.ResourceException
        Specified by:
        getMetaData in interface javax.resource.spi.ManagedConnection
        Overrides:
        getMetaData in class AbstractManagedConnectionImpl
        Throws:
        javax.resource.ResourceException
      • close

        public void close()
                   throws javax.resource.ResourceException
        Description copied from interface: Connection
        close the connection handle. A caller should not use a closed connection.
        Specified by:
        close in interface Connection
        Throws:
        javax.resource.ResourceException - if an error occurs during close.
      • destroy

        public void destroy()
                     throws javax.resource.ResourceException
        Specified by:
        destroy in interface javax.resource.spi.ManagedConnection
        Overrides:
        destroy in class AbstractManagedConnectionImpl
        Throws:
        javax.resource.ResourceException
      • getXAResource

        public XAResource getXAResource()
                                 throws javax.resource.ResourceException
        Specified by:
        getXAResource in interface javax.resource.spi.ManagedConnection
        Throws:
        javax.resource.ResourceException
      • getLocalTransaction

        public javax.resource.spi.LocalTransaction getLocalTransaction()
                                                                throws javax.resource.ResourceException
        Specified by:
        getLocalTransaction in interface javax.resource.spi.ManagedConnection
        Throws:
        javax.resource.ResourceException