12.07.2015 Views

Integration of Applications in UNICORE 6

Integration of Applications in UNICORE 6

Integration of Applications in UNICORE 6

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DateGridBean.javapublic class DateGridBean extends AbstractGridBean {private static f<strong>in</strong>al long serialVersionUID = 1L;public DateGridBean () { set ( JOBNAME , " Date " ); }public void setupJobDef<strong>in</strong>ition ( Job job ) throws GridBeanException {super . setupJobDef<strong>in</strong>ition ( job );if ( job <strong>in</strong>stance<strong>of</strong> GPEJob ) {GPEJob gpeJob = ( GPEJob ) job ;gpeJob . setApplicationName (" Date " );gpeJob . setApplicationVersion (" 1.0 " );gpeJob . setWork<strong>in</strong>gDirectory (GPEConstants . JobManagement . TEMPORARY_DIR_NAME );gpeJob . setId (" Date " );}else {throw new GridBeanException (" Invalid job type ." );}}public void parseJobDef<strong>in</strong>ition ( Job job ) throws GridBeanException {super . parseJobDef<strong>in</strong>ition ( job );}}public Str<strong>in</strong>g getName () { return " Date "; }Migration Workshop , 29th Oct 2008 30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!