Class ApplicationLocalTransaction

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

    public class ApplicationLocalTransaction
    extends Object
    implements javax.resource.cci.LocalTransaction
    Application demarcated local transaction This interface is used for application level local transaction demarcation. One can use the javax.jdo or the javax.resource.cci.LocalTransaction APIs,
    • Constructor Detail

      • ApplicationLocalTransaction

        public ApplicationLocalTransaction​(PersistenceManagerImpl pm)
        Constructor
        Parameters:
        pm - the PersistenceManager
    • Method Detail

      • begin

        public void begin()
                   throws javax.resource.ResourceException
        Specified by:
        begin in interface javax.resource.cci.LocalTransaction
        Throws:
        javax.resource.ResourceException
      • commit

        public void commit()
                    throws javax.resource.ResourceException
        Specified by:
        commit in interface javax.resource.cci.LocalTransaction
        Throws:
        javax.resource.ResourceException
      • rollback

        public void rollback()
                      throws javax.resource.ResourceException
        Specified by:
        rollback in interface javax.resource.cci.LocalTransaction
        Throws:
        javax.resource.ResourceException