Class ConnectionFactoryImpl.ManagedConnectionImpl

  • All Implemented Interfaces:
    org.datanucleus.store.connection.ManagedConnection
    Enclosing class:
    ConnectionFactoryImpl

    public class ConnectionFactoryImpl.ManagedConnectionImpl
    extends org.datanucleus.store.connection.AbstractManagedConnection
    • Constructor Detail

      • ManagedConnectionImpl

        public ManagedConnectionImpl​(org.datanucleus.ExecutionContext ec)
    • Method Detail

      • closeAfterTransactionEnd

        public boolean closeAfterTransactionEnd()
        Specified by:
        closeAfterTransactionEnd in interface org.datanucleus.store.connection.ManagedConnection
        Overrides:
        closeAfterTransactionEnd in class org.datanucleus.store.connection.AbstractManagedConnection
      • getConnection

        public Object getConnection()
      • obtainNewConnection

        protected void obtainNewConnection()
      • release

        public void release()
        Specified by:
        release in interface org.datanucleus.store.connection.ManagedConnection
        Overrides:
        release in class org.datanucleus.store.connection.AbstractManagedConnection
      • close

        public void close()
        Specified by:
        close in interface org.datanucleus.store.connection.ManagedConnection
        Overrides:
        close in class org.datanucleus.store.connection.AbstractManagedConnection
      • getXAResource

        public XAResource getXAResource()
        Specified by:
        getXAResource in interface org.datanucleus.store.connection.ManagedConnection
        Overrides:
        getXAResource in class org.datanucleus.store.connection.AbstractManagedConnection