uk.ac.soton.itinnovation.grid.types
Interface FederationSelector

All Known Subinterfaces:
CltMgtRegistryResource, CltMgtRegistryResourceConversation, PrivateAccountConversation, PrivateAccountResource, PrivateAccountServiceSOAP
All Known Implementing Classes:
CltMgtRegistryResourceImpl

public interface FederationSelector

A resource that selects a Federation from a list of possible Federations.


Field Summary
static QName DEFAULT_FEDERATION_SELECTOR
           
 
Method Summary
 org.apache.axis.message.addressing.EndpointReferenceType getBillingEPR(org.apache.axis.message.addressing.EndpointReferenceType[] targetTrustedResources, org.apache.axis.message.addressing.EndpointReferenceType targetService)
          Gets an EPR for a resource to which usage of another service can be billed.
 

Field Detail

DEFAULT_FEDERATION_SELECTOR

static final QName DEFAULT_FEDERATION_SELECTOR
Method Detail

getBillingEPR

@WebMethod
org.apache.axis.message.addressing.EndpointReferenceType getBillingEPR(org.apache.axis.message.addressing.EndpointReferenceType[] targetTrustedResources,
                                                                                 org.apache.axis.message.addressing.EndpointReferenceType targetService)
                                                                       throws RemoteException
Gets an EPR for a resource to which usage of another service can be billed.

Parameters:
targetTrustedResources - - the trusted resources of the service
targetService - - the target service (which will pass the tokens on to its account service)
Returns:
an EPR for the chosen resource, including any security tokens needed to access it, or null if no EPR is required
Throws:
RemoteException - if there is a problem getting a billing token
NoSuitableAccountException - if no suitable resource are available


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