Class FBXADataSource

    • Constructor Detail

      • FBXADataSource

        public FBXADataSource()
    • Method Detail

      • getXAConnection

        public javax.sql.XAConnection getXAConnection()
                                               throws java.sql.SQLException
        Specified by:
        getXAConnection in interface javax.sql.XADataSource
        Throws:
        java.sql.SQLException
      • getXAConnection

        public javax.sql.XAConnection getXAConnection​(java.lang.String user,
                                                      java.lang.String password)
                                               throws java.sql.SQLException
        Specified by:
        getXAConnection in interface javax.sql.XADataSource
        Throws:
        java.sql.SQLException
      • checkNotStarted

        protected void checkNotStarted()
                                throws java.lang.IllegalStateException
        Description copied from class: FBAbstractCommonDataSource
        Method to check if this DataSource has not yet started.

        Implementations should throw IllegalStateException when the DataSource is already in use and modifying properties is not allowed.

        Specified by:
        checkNotStarted in class FBAbstractCommonDataSource
        Throws:
        java.lang.IllegalStateException - When the DataSource is already in use
      • getReference

        public javax.naming.Reference getReference()
                                            throws javax.naming.NamingException
        Specified by:
        getReference in interface javax.naming.Referenceable
        Throws:
        javax.naming.NamingException