1
2
3
4
5
6
7
8
9
10
11
12
13
14 package org.astrogrid.applications.delegate;
15
16 import org.astrogrid.applications.delegate.impl.CommonExecutionConnectorDelegate;
17
18 /***
19 * A simple factory for creating CommonExecutionConnector Client delegates.
20 * @author Paul Harrison (pah@jb.man.ac.uk)
21 * @version $Name: $
22 * @since iteration4
23 */
24 public class DelegateFactory {
25 /***
26 * Create a CommonExecutionClientDelegate with the stated service endpoint
27 * @param serviceEndpoint
28 * @return
29 */
30 public static CommonExecutionConnectorClient createDelegate(String serviceEndpoint)
31 {
32 return CommonExecutionConnectorDelegate.buildDelegate(serviceEndpoint);
33
34 }
35
36 /***
37 * @return
38 */
39 public static CommonExecutionConnectorClient createDelegate()
40 {
41 throw new UnsupportedOperationException("not yet implemented - need to do registry discovery");
42 }
43 }