uk.ac.soton.itinnovation.grid.comms.client
Class BaseRemoteService<T extends RemoteService>
java.lang.Object
uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteResource<T>
uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteService<T>
- All Implemented Interfaces:
- Comparable<StorableInStateRepository>, StorableInStateRepository
- Direct Known Subclasses:
- CltMgtRegistryServiceHelpers, DataServiceHelpers, JobServiceHelpers, MembershipServiceHelpers, PrivateAccountServiceHelpers, RemoteOgsaDaiServiceHelpers, SampleServiceHelpers, SLAServiceHelpers, TradeAccountServiceHelpers, UnrecognisedRemoteServiceHelpers
public class BaseRemoteService<T extends RemoteService>
- extends BaseRemoteResource<T>
Non-SOAP methods common to remote service objects.
This base class provides the implementation of the core operations supported
by proxies to remote resources.
- See Also:
RemoteResourceProxy,
AdditionalMethods
| Methods inherited from class uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteResource |
assertNotFinished, compareTo, createMethod, equals, getContextID, getDescription, getEndpoint, getEndpointRef, getInterface, getMethod, getParentURL, getRepository, getServiceName, getURL, getWSDL, hasMethod, initHelper, invoke, invokeService, invokeService, setDescription |
BaseRemoteService
public BaseRemoteService()
setBillingInfo
public 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
public org.apache.axis.message.addressing.EndpointReferenceType getBillingInfo()
- gets the billing epr for creating resources on this proxy
createMatchRule
public MatchRule createMatchRule(String role)
throws RemoteException
- Create a match rule that will grant this service the given role.
This method queries the remote service to discover its details and contructs
a rule from the results.
- Parameters:
role - the role to be granted
- Returns:
- a rule granting the service the given process role
- Throws:
RemoteException
createMatchPattern
public MatchPattern createMatchPattern()
throws RemoteException
- Create a match pattern that will match the current service.
This method queries the remote service to discover its details and contructs
a pattern from the results.
- Returns:
- a pattern matching the current service
- Throws:
RemoteException
toString
public String toString()
- Overrides:
toString in class BaseRemoteResource<T extends RemoteService>
Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.