All Downloads are FREE. Search and download functionalities are using the official Maven repository.

atg.adapter.gsa.AutoCommitable Maven / Gradle / Ivy

Go to download

ATG DUST is a framework for building JUnit tests for applications built on the ATG Dynamo platform. This framework allows one to quickly write test code that depends up Nucleus or ATG Repositories. By using this framework one can drastically cut down on development time. It takes only a few seconds to start up a test with a repository, but it may take multiple minutes to start up an application server. To get started with DUST, take a look at http://atgdust.sourceforge.net/first-test.html. This page will walk you through the process of running a basic test which starts Nucleus. After that, read the other getting started guides to describe how to create standalone Junit tests which can startup repositories and use the DynamoHttpServletResponse classes. For only ATG10 and tested.

The newest version!
package atg.adapter.gsa;

import java.sql.Connection;

/**
 * Interface for code that should be executed with autoCommit=true.
 * @version $Id: //test/UnitTests/base/main/src/Java/atg/adapter/gsa/AutoCommitable.java#1 $
 * @author adamb
 *
 */
public interface AutoCommitable {
  /**
   * Work to be done withing the scope of an autoCommit transaction
   * should be placed into the implementation of this method.
   * Hand of the implementation (typically via Anonymous Inner Class) to an
   * instance of DoInAutoCommitLand.doInAutoCommit
   * @param pConnection
   */
 public void doInAutoCommit(Connection pConnection);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy