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

javax.batch.runtime.context.BatchContext Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package javax.batch.runtime.context;

/**
 * Base class for all batch context types.
 *
 */
public interface BatchContext  {
	/**
	 * The getId method returns the context id. This
	 * is value of the id attribute from the Job 
	 * XML execution element corresponding to this
	 * context  type.    
	 * @return id string
	 */
	public String getId();
	/**
	 * The getTransientUserData method returns a transient data object 
	 * belonging to the current Job XML execution element. 
	 * @return user-specified type
	 */
	public T getTransientUserData();
	/**
	 * The setTransientUserData method stores a transient data object into 
	 * the current batch context. 
	 * @param data is the user-specified type
	 */
	public void setTransientUserData(T data);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy