uk.ac.soton.ecs.iam.grid.client.staterepos
Class RemoteDataServiceImpl

java.lang.Object
  extended by uk.ac.soton.ecs.iam.grid.client.staterepos.RemoteDataServiceImpl
All Implemented Interfaces:
Comparable<StorableInStateRepository>, RemoteDataService, RemoteService, StorableInStateRepository, DataService, ManagedGridService, ReportAPI, WebAdmin, WSRFService, GridService

Deprecated.

@Deprecated
public class RemoteDataServiceImpl
extends Object
implements RemoteDataService

A proxy to a remote data service.


Field Summary
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.management.ManagedGridService
FREE_SERVICE
 
Constructor Summary
RemoteDataServiceImpl(StateRepository repository, org.apache.axis.message.addressing.EndpointReferenceType endpoint)
          Deprecated.  
 
Method Summary
 void addTrustedAccountService(org.apache.axis.message.addressing.EndpointReferenceType trustedservice)
          Deprecated. Add a trusted management service to the list.
 int compareTo(StorableInStateRepository other)
          Deprecated.  
 MatchPattern createMatchPattern()
          Deprecated. Create a MatchPattern that matches this service.
 MatchRule createMatchRule(String role)
          Deprecated. Create a match rule that will grant this service the given role.
 DataConversation createStagingArea(org.apache.axis.message.addressing.EndpointReferenceType billingInfo, String description)
          Deprecated. Low-level method for creating a new remote data stager.
 org.apache.axis.message.addressing.EndpointReferenceType createStagingArea(org.apache.axis.message.addressing.EndpointReferenceType billingInfo, String description, MatchRule owner)
          Deprecated. Low-level method for creating a new remote data stager.
 DataConversation createStagingArea(String description)
          Deprecated. Creates a new remote data stager.
 org.apache.axis.message.addressing.EndpointReferenceType createStagingArea(String description, MatchRule owner)
          Deprecated. Low-level method for creating a new remote data stager.
 void ensurePoliciesDeployed()
          Deprecated. Ensure that any required PBAC policies are deployed.
 Document getAtomFeed(String atomFeed, String serviceBase)
          Deprecated. Return an Atom feed listing any problems or issues with this service.
 org.apache.axis.message.addressing.EndpointReferenceType getBillingInfo()
          Deprecated. gets the billing epr for creating resources on this proxy
 String getDescription()
          Deprecated. Returns a textual description of the object.
 URL getEndpoint()
          Deprecated. Get the endpoint address of the service.
 org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
          Deprecated. Return an EndpointReferenceType for this conversation.
 Class getInterface()
          Deprecated. Returns the type of this object.
 NotificationMessage[] getMessages()
          Deprecated. Returns all usage messages
 NotificationMessage[] getMessagesN(int MaximumNumber)
          Deprecated. Returns usage messages
 RemoteBoundMethod getMethod(String operation)
          Deprecated. Get a RemoteBoundMethod bound to this service's endpoint.
 URL getParentURL()
          Deprecated. Returns the URL of this object's parent.
 StateRepository getRepository()
          Deprecated. Get the StateRepository holding this object.
 Document GetResourceProperty(QName qname)
          Deprecated. Get a resource property.
 org.apache.axis.message.addressing.EndpointReferenceType[] getResources()
          Deprecated. List the resources managed by this service for which the caller has some role.
 String getServiceName()
          Deprecated.  
 SubjectDescription getServiceProviderID()
          Deprecated. Returns the service provider ID, in the form of an Issuer and Subject DN.
 SubjectDescription getServiceProviderIssuer()
          Deprecated. Returns details of the issuer of the service's certificate.
 org.apache.axis.message.addressing.EndpointReferenceType[] getTrustedAccountServices()
          Deprecated. Get a list of trusted management services, as a list of EPRs.
 URL getURL()
          Deprecated. Returns the globally unique identifier.
 void removeTrustedAccountService(org.apache.axis.message.addressing.EndpointReferenceType trustedservice)
          Deprecated. Remove a trusted management service from the list.
 void setBillingInfo(org.apache.axis.message.addressing.EndpointReferenceType epr)
          Deprecated. 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
 void setDescription(String description)
          Deprecated. Change the textual description, as returned by getDescription.
 void setRepository(StateRepository repository)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteDataServiceImpl

public RemoteDataServiceImpl(StateRepository repository,
                             org.apache.axis.message.addressing.EndpointReferenceType endpoint)
                      throws ObjectAlreadyExists
Deprecated. 
Throws:
ObjectAlreadyExists
Method Detail

getInterface

public Class getInterface()
Deprecated. 
Description copied from interface: StorableInStateRepository
Returns the type of this object. When loading the object, a StateRepository locates a class implementing the interface and uses that for the object.

Specified by:
getInterface in interface StorableInStateRepository

setRepository

public void setRepository(StateRepository repository)
Deprecated. 

getRepository

public StateRepository getRepository()
Deprecated. 
Description copied from interface: StorableInStateRepository
Get the StateRepository holding this object.

Specified by:
getRepository in interface StorableInStateRepository

getEndpointRef

public org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
Deprecated. 
Description copied from interface: StorableInStateRepository
Return an EndpointReferenceType for this conversation. This contains both the endpoint address of the service, and the resource itself.

Specified by:
getEndpointRef in interface StorableInStateRepository

getURL

public URL getURL()
Deprecated. 
Description copied from interface: StorableInStateRepository
Returns the globally unique identifier. No two distinct objects may have the same URL, even if they have different types.

Specified by:
getURL in interface StorableInStateRepository

getParentURL

public URL getParentURL()
Deprecated. 
Description copied from interface: StorableInStateRepository
Returns the URL of this object's parent. Returns null if this is a top-level (service) object.

Specified by:
getParentURL in interface StorableInStateRepository

getDescription

public String getDescription()
Deprecated. 
Description copied from interface: StorableInStateRepository
Returns a textual description of the object. This can be presented to the user when choosing from a list, for example.

Specified by:
getDescription in interface StorableInStateRepository

setDescription

public void setDescription(String description)
Deprecated. 
Description copied from interface: StorableInStateRepository
Change the textual description, as returned by getDescription.

Specified by:
setDescription in interface StorableInStateRepository

getEndpoint

public URL getEndpoint()
Deprecated. 
Get the endpoint address of the service.

Specified by:
getEndpoint in interface RemoteService

compareTo

public int compareTo(StorableInStateRepository other)
Deprecated. 
Specified by:
compareTo in interface Comparable<StorableInStateRepository>

getServiceProviderIssuer

public SubjectDescription getServiceProviderIssuer()
                                            throws RemoteException
Deprecated. 
Description copied from interface: GridService
Returns details of the issuer of the service's certificate.

Specified by:
getServiceProviderIssuer in interface GridService
Throws:
RemoteException

getServiceProviderID

public SubjectDescription getServiceProviderID()
                                        throws RemoteException
Deprecated. 
Description copied from interface: GridService
Returns the service provider ID, in the form of an Issuer and Subject DN.

Specified by:
getServiceProviderID in interface GridService
Returns:
the ID of the service provider
Throws:
RemoteException

getTrustedAccountServices

public org.apache.axis.message.addressing.EndpointReferenceType[] getTrustedAccountServices()
                                                                                     throws RemoteException
Deprecated. 
Description copied from interface: ManagedGridService
Get a list of trusted management services, as a list of EPRs. Note: this method is badly named: should be getTrustedManagementServices

Specified by:
getTrustedAccountServices in interface ManagedGridService
Throws:
RemoteException

addTrustedAccountService

public void addTrustedAccountService(org.apache.axis.message.addressing.EndpointReferenceType trustedservice)
                              throws RemoteException
Deprecated. 
Description copied from interface: ManagedGridService
Add a trusted management service to the list. Note: this method is badly named: should be addTrustedManagementService

Specified by:
addTrustedAccountService in interface ManagedGridService
Parameters:
trustedservice - the EPR of the service
Throws:
RemoteException

removeTrustedAccountService

public void removeTrustedAccountService(org.apache.axis.message.addressing.EndpointReferenceType trustedservice)
                                 throws RemoteException
Deprecated. 
Description copied from interface: ManagedGridService
Remove a trusted management service from the list. Note: this method is badly named: should be removeTrustedManagementService

Specified by:
removeTrustedAccountService in interface ManagedGridService
Parameters:
trustedservice - the EPR of the service
Throws:
RemoteException

getMessagesN

public NotificationMessage[] getMessagesN(int MaximumNumber)
                                   throws RemoteException
Deprecated. 
Description copied from interface: ReportAPI
Returns usage messages

Specified by:
getMessagesN in interface ReportAPI
Parameters:
MaximumNumber - of messages. If more available returns the first.
Returns:
an array containing usage messages.
Throws:
RemoteException

getMessages

public NotificationMessage[] getMessages()
                                  throws RemoteException
Deprecated. 
Description copied from interface: ReportAPI
Returns all usage messages

Specified by:
getMessages in interface ReportAPI
Returns:
an array containing all usage messages.
Throws:
RemoteException

getMethod

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

Specified by:
getMethod in interface RemoteService

getBillingInfo

public org.apache.axis.message.addressing.EndpointReferenceType getBillingInfo()
Deprecated. 
Description copied from interface: RemoteService
gets the billing epr for creating resources on this proxy

Specified by:
getBillingInfo in interface RemoteService

setBillingInfo

public void setBillingInfo(org.apache.axis.message.addressing.EndpointReferenceType epr)
Deprecated. 
Description copied from interface: RemoteService
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

Specified by:
setBillingInfo in interface RemoteService
Parameters:
epr - the billing epr

createStagingArea

public DataConversation createStagingArea(org.apache.axis.message.addressing.EndpointReferenceType billingInfo,
                                          String description)
                                   throws RemoteException
Deprecated. 
Low-level method for creating a new remote data stager. This one does not store the new stager in a repository.

Specified by:
createStagingArea in interface RemoteDataService
Throws:
RemoteException

createStagingArea

public org.apache.axis.message.addressing.EndpointReferenceType createStagingArea(String description,
                                                                                  MatchRule owner)
                                                                           throws RemoteException
Deprecated. 
Low-level method for creating a new remote data stager. This one does not store the new stager in a repository.

Specified by:
createStagingArea in interface DataService
Parameters:
description - label for new stager
owner - A rule to allow access for the owner role
Returns:
the End Point Reference of the new resource
Throws:
RemoteException

createStagingArea

public org.apache.axis.message.addressing.EndpointReferenceType createStagingArea(org.apache.axis.message.addressing.EndpointReferenceType billingInfo,
                                                                                  String description,
                                                                                  MatchRule owner)
                                                                           throws RemoteException
Deprecated. 
Low-level method for creating a new remote data stager. This one does not store the new stager in a repository.

Specified by:
createStagingArea in interface RemoteDataService
Throws:
RemoteException

createStagingArea

public DataConversation createStagingArea(String description)
                                   throws RemoteException
Deprecated. 
Description copied from interface: RemoteDataService
Creates a new remote data stager. This can be used to store inputs to and outputs from jobs. The new stager is stored in the account's StateRepository.

Specified by:
createStagingArea in interface RemoteDataService
Parameters:
description - a local label for the conversation
Throws:
RemoteException

getResources

public org.apache.axis.message.addressing.EndpointReferenceType[] getResources()
                                                                        throws RemoteException
Deprecated. 
Description copied from interface: GridService
List the resources managed by this service for which the caller has some role.

Specified by:
getResources in interface GridService
Throws:
RemoteException

getServiceName

public String getServiceName()
Deprecated. 

ensurePoliciesDeployed

public void ensurePoliciesDeployed()
                            throws GridFailureException
Deprecated. 
Description copied from interface: WebAdmin
Ensure that any required PBAC policies are deployed.

Specified by:
ensurePoliciesDeployed in interface WebAdmin
Throws:
GridFailureException

getAtomFeed

public Document getAtomFeed(String atomFeed,
                            String serviceBase)
                     throws GridFailureException
Deprecated. 
Description copied from interface: WebAdmin
Return an Atom feed listing any problems or issues with this service. The feed is displayed on the main admin page, and the feed can also be used with various aggregators.

Specified by:
getAtomFeed in interface WebAdmin
Parameters:
atomFeed - the URL of the feed
serviceBase - the service administration URL (for creating hyperlinks)
Throws:
GridFailureException
See Also:
AtomUtils

GetResourceProperty

public Document GetResourceProperty(QName qname)
                             throws GridFailureException
Deprecated. 
Description copied from interface: WSRFService
Get a resource property.

Specified by:
GetResourceProperty in interface WSRFService
Parameters:
qname - the property to read
Returns:
the resource property value(s) of the property with the given QName.
Throws:
InvalidResourcePropertyQNameFault - if the QName isn't known
GridFailureException

createMatchRule

public MatchRule createMatchRule(String role)
                          throws RemoteException
Deprecated. 
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.

Specified by:
createMatchRule in interface RemoteService
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
Deprecated. 
Description copied from interface: RemoteService
Create a MatchPattern that matches this service. Invokes the service to get its identity.

Specified by:
createMatchPattern in interface RemoteService
Throws:
RemoteException


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