uk.ac.soton.itinnovation.grid.client.engine.impl
Class DefaultAttributeSelector

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.client.engine.impl.DefaultAttributeSelector
All Implemented Interfaces:
AttributeSelector<DefaultInvocationEngine>

public class DefaultAttributeSelector
extends Object
implements AttributeSelector<DefaultInvocationEngine>

Search the DefaultInvocationEngine's selected registry list to find the token source


Constructor Summary
DefaultAttributeSelector(SAMLTokenCache tokenCache)
           
 
Method Summary
 org.apache.axis.message.addressing.EndpointReferenceType getFallbackGroup()
           
 Element[] getTokens(org.apache.axis.message.addressing.EndpointReferenceType target, RemoteMethod method, DefaultInvocationEngine engine)
          Return any additional tokens required to invoke 'target'.
 void setFallbackGroup(org.apache.axis.message.addressing.EndpointReferenceType fallbackEPR)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAttributeSelector

public DefaultAttributeSelector(SAMLTokenCache tokenCache)
Method Detail

getFallbackGroup

public org.apache.axis.message.addressing.EndpointReferenceType getFallbackGroup()

setFallbackGroup

public void setFallbackGroup(org.apache.axis.message.addressing.EndpointReferenceType fallbackEPR)

getTokens

public Element[] getTokens(org.apache.axis.message.addressing.EndpointReferenceType target,
                           RemoteMethod method,
                           DefaultInvocationEngine engine)
                    throws RemoteException
Description copied from interface: AttributeSelector
Return any additional tokens required to invoke 'target'.

Specified by:
getTokens in interface AttributeSelector<DefaultInvocationEngine>
Parameters:
target - the resource being used
method - the method on the resource, or null if this is not a direct invocation
engine - the requesting engine
Returns:
a list of tokens
Throws:
RemoteException


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