uk.ac.soton.itinnovation.grid.client.proxy
Class InvocationEngineProxyFactory

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.client.proxy.InvocationEngineProxyFactory
All Implemented Interfaces:
ProxyFactory

public class InvocationEngineProxyFactory
extends Object
implements ProxyFactory

Creates Java proxy objects for remote resources. These proxies use an InvocationEngine to perform the actual operation.


Constructor Summary
InvocationEngineProxyFactory(InvocationEngine engine, WSDLCache cache)
          Constructor.
 
Method Summary
<T> T
createProxy(org.apache.axis.message.addressing.EndpointReferenceType target, Class<T> iface)
          Create a proxy.
 InvocationEngine getEngine()
           
 WSDLCache getWSDLCache()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationEngineProxyFactory

public InvocationEngineProxyFactory(InvocationEngine engine,
                                    WSDLCache cache)
Constructor.

Parameters:
engine - engine to use when invoking methods on proxies
cache - cache to use to get WSDL
Method Detail

getEngine

public InvocationEngine getEngine()

getWSDLCache

public WSDLCache getWSDLCache()

createProxy

public <T> T createProxy(org.apache.axis.message.addressing.EndpointReferenceType target,
                         Class<T> iface)
Create a proxy.

Specified by:
createProxy in interface ProxyFactory
Parameters:
target - the EPR of the remote resource
iface - the Java interface which the proxy object will implement
Returns:
a proxy to target of the given type


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.