uk.ac.soton.itinnovation.grid.client.engine.impl
Class DefaultInvocationEngine
java.lang.Object
uk.ac.soton.itinnovation.grid.client.engine.impl.DefaultInvocationEngine
- All Implemented Interfaces:
- Cloneable, InvocationEngine
public class DefaultInvocationEngine
- extends Object
- implements InvocationEngine, Cloneable
Orchestrates the process of getting tokens and federation contexts needed
to invoke a service.
DefaultInvocationEngine
public DefaultInvocationEngine(Transport transport)
DefaultInvocationEngine
public DefaultInvocationEngine(Transport transport,
AttributeSelector<? super DefaultInvocationEngine> attributeSelector,
FederationSelector<? super DefaultInvocationEngine> federationSelector,
List<SimpleRegistry> selectedRegistries)
clone
public DefaultInvocationEngine clone()
throws CloneNotSupportedException
- Overrides:
clone in class Object
- Throws:
CloneNotSupportedException
invoke
public Object invoke(org.apache.axis.message.addressing.EndpointReferenceType target,
RemoteMethod method,
Object[] arguments)
throws RemoteException
- Invoke a SOAP operation.
The engine's identityProvider, attributeSelector and
federationSelector will be called to perform any extra updates to
the message.
- Specified by:
invoke in interface InvocationEngine
- Parameters:
target - the remote resource being accessedmethod - a method on target to be invokedarguments - arguments for the method
- Returns:
- the result of the invocation
- Throws:
RemoteException
getTransport
public Transport getTransport()
- Description copied from interface:
InvocationEngine
- Get the transport used for sending SOAP messages.
This includes the IdentityProvider.
- Specified by:
getTransport in interface InvocationEngine
getAttributeSelector
public AttributeSelector<? super DefaultInvocationEngine> getAttributeSelector()
getFederationSelector
public FederationSelector<? super DefaultInvocationEngine> getFederationSelector()
getSelectedRegistries
public List<SimpleRegistry> getSelectedRegistries()
getProxyFactory
public ProxyFactory getProxyFactory()
setTransport
public void setTransport(Transport transport)
setAttributeSelector
public void setAttributeSelector(AttributeSelector<? super DefaultInvocationEngine> attributeSelector)
setFederationSelector
public void setFederationSelector(FederationSelector<? super DefaultInvocationEngine> federationSelector)
setSelectedRegistries
public void setSelectedRegistries(List<SimpleRegistry> selectedRegistries)
setProxyFactory
public void setProxyFactory(ProxyFactory proxyFactory)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.