uk.ac.soton.ecs.iam.grid.comms.client
Interface RemoteService

All Superinterfaces:
Comparable<StorableInStateRepository>, GridService, StorableInStateRepository
All Known Subinterfaces:
RemoteCltMgtRegistryService, RemoteDataService, RemoteJobService, RemoteMembershipService, RemoteOgsaDaiService, RemotePrivateAccountService, RemoteSampleService, RemoteSLAService, RemoteTradeAccountService, RemoteWSResourceLifetime, UnrecognisedRemoteService
All Known Implementing Classes:
RemoteDataServiceImpl, RemoteJobServiceImpl, RemotePrivateAccountServiceImpl, RemoteReportAPIImpl, RemoteServiceImpl, RemoteSLAServiceImpl, RemoteTradeAccountServiceImpl, RemoteWSResourceLifetimeImpl

public interface RemoteService
extends StorableInStateRepository, GridService

A service contains an endpoint and a store of bound methods.


Method Summary
 MatchPattern createMatchPattern()
          Create a MatchPattern that matches this service.
 MatchRule createMatchRule(String role)
          Deprecated. see createMatchPattern()
 org.apache.axis.message.addressing.EndpointReferenceType getBillingInfo()
          gets the billing epr for creating resources on this proxy
 URL getEndpoint()
          Returns the service's endpoint.
 RemoteBoundMethod getMethod(String operation)
          Get a RemoteBoundMethod bound to this service's endpoint.
 void setBillingInfo(org.apache.axis.message.addressing.EndpointReferenceType epr)
          lets the user set the billing epr to be used when creating resources if null then the a BillingHelper is used to try and select one
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository
getDescription, getEndpointRef, getInterface, getParentURL, getRepository, getURL, setDescription
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.GridService
getResources, getServiceProviderID, getServiceProviderIssuer
 

Method Detail

getEndpoint

URL getEndpoint()
Returns the service's endpoint.


getMethod

RemoteBoundMethod getMethod(String operation)
Get a RemoteBoundMethod bound to this service's endpoint.


createMatchRule

@Deprecated
MatchRule createMatchRule(String role)
                          throws RemoteException
Deprecated. see createMatchPattern()

Create a MatchRule that grants this service access to 'role'. Invokes the service to get its identity.

Parameters:
role - role to grant the service
Throws:
RemoteException

createMatchPattern

MatchPattern createMatchPattern()
                                throws RemoteException
Create a MatchPattern that matches this service. Invokes the service to get its identity.

Throws:
RemoteException

setBillingInfo

void setBillingInfo(org.apache.axis.message.addressing.EndpointReferenceType epr)
lets the user set the billing epr to be used when creating resources if null then the a BillingHelper is used to try and select one

Parameters:
epr - the billing epr

getBillingInfo

org.apache.axis.message.addressing.EndpointReferenceType getBillingInfo()
gets the billing epr for creating resources on this proxy



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