z/OS Batch Runtime Planning and User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Interface definition

z/OS Batch Runtime Planning and User's Guide
SA23-1376-00

public interface JPAWriterPattern {

	/**
	 * This method is invoked during create job step to allow the JPAWriter stream to
	 * initialize. 
	 * @param props Properties passed via xJCL 
	 */
public void initialize(Properties props);
	
	/**
	 * This method is invoked to actually persist the passed object to the database
	 * using JPA EntityManager 
	 * @param manager
	 * @param record
	 */
	public void writeRecord(EntityManager manager, Object record);
}  

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014