1 package org.astrogrid.jes.delegate.impl;
2
3 import org.astrogrid.jes.delegate.Delegate;
4 import org.astrogrid.jes.delegate.JesDelegateException;
5 import org.astrogrid.jes.types.v1.cea.axis.JobIdentifierType;
6 import org.astrogrid.jes.types.v1.cea.axis.MessageType;
7
8
9
10 /***
11
12 Dummy implementation of a job monitor delegate - does nothing.
13 */
14 public class TestJobMonitorDelegateImpl extends JobMonitorDelegate {
15
16 public TestJobMonitorDelegateImpl( ){
17 this.targetEndPoint = Delegate.TEST_URI;
18 }
19
20
21 /***
22 * @see org.astrogrid.jes.delegate.JobMonitor#monitorJob(org.astrogrid.jes.types.v1.cea.axis.JobIdentifierType, org.astrogrid.jes.types.v1.cea.axis.MessageType)
23 */
24 public void monitorJob(JobIdentifierType id, MessageType info) throws JesDelegateException {
25 log.info( "Test Delegate: " +id.toString()) ;
26 }
27
28
29
30 }