Class ContainerLocalTransaction

  • All Implemented Interfaces:
    javax.resource.spi.LocalTransaction

    public class ContainerLocalTransaction
    extends Object
    implements javax.resource.spi.LocalTransaction
    Container-demarcated local transaction. Starts the LocalTransaction of the Resource. The JCA container uses this interface to control the lifecycle of local transactions.
    • Method Detail

      • begin

        public void begin()
                   throws javax.resource.ResourceException
        Method to start the Transaction
        Specified by:
        begin in interface javax.resource.spi.LocalTransaction
        Throws:
        javax.resource.ResourceException - if error occurs
      • commit

        public void commit()
                    throws javax.resource.ResourceException
        Method to commit the Transaction
        Specified by:
        commit in interface javax.resource.spi.LocalTransaction
        Throws:
        javax.resource.ResourceException - if error occurs
      • rollback

        public void rollback()
                      throws javax.resource.ResourceException
        Method to rollback the Transaction
        Specified by:
        rollback in interface javax.resource.spi.LocalTransaction
        Throws:
        javax.resource.ResourceException - if error occurs
      • internalRollback

        public void internalRollback()
        Method to rollback the Transaction
      • internalBegin

        public void internalBegin()
        Method to start the Transaction
      • internalCommit

        public void internalCommit()
        Method to commit the Transaction