1
2
3
4
5
6
7
8
9
10
11 package org.astrogrid.jes.resultlistener;
12
13 import org.astrogrid.jes.component.JesComponentManagerFactory;
14 import org.astrogrid.jes.service.v1.cearesults.ResultsListener;
15 import org.astrogrid.jes.types.v1.cea.axis.JobIdentifierType;
16 import org.astrogrid.jes.types.v1.cea.axis.ResultListType;
17
18 import org.apache.commons.logging.Log;
19 import org.apache.commons.logging.LogFactory;
20
21 import java.rmi.RemoteException;
22
23 /*** soap skeleton - just delegates on to real method in container.
24 * @author Noel Winstanley nw@jb.man.ac.uk 01-Jul-2004
25 *
26 */
27 public class ResultsListenerSoapBindingImpl implements ResultsListener {
28 /***
29 * Commons Logger for this class
30 */
31 private static final Log logger = LogFactory.getLog(ResultsListenerSoapBindingImpl.class);
32
33 /*** Construct a new ResultsListenerSoapBindingImple
34 *
35 */
36 public ResultsListenerSoapBindingImpl() {
37 ResultsListener tmpListener = null;
38 try {
39 tmpListener = JesComponentManagerFactory.getInstance().getResultsListener();
40 } catch (Throwable t) {
41 logger.fatal("Could not acquire results listener",t);
42 }
43 listener = tmpListener;
44 }
45 protected final ResultsListener listener;
46 /***
47 * @see org.astrogrid.jes.service.v1.cearesults.ResultsListener#putResults(org.astrogrid.jes.types.v1.cea.axis.JobIdentifierType, org.astrogrid.jes.types.v1.cea.axis.ResultListType)
48 */
49 public void putResults(JobIdentifierType arg0, ResultListType arg1) throws RemoteException {
50 listener.putResults(arg0,arg1);
51 }
52 }
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67