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

java.lang.Object
  extended by uk.ac.soton.ecs.iam.grid.client.staterepos.RemoteSLAServiceImpl
All Implemented Interfaces:
Comparable<StorableInStateRepository>, RemoteService, RemoteSLAService, StorableInStateRepository, ManagedGridService, SLAService, WebAdmin, WSResourceLifetime, WSRFService, GridService

Deprecated.

@Deprecated
public class RemoteSLAServiceImpl
extends Object
implements RemoteSLAService

A proxy to a remote SLA service.


Field Summary
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.sla.SLAService
SLA_RESOURCE_TYPE
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.management.ManagedGridService
FREE_SERVICE
 
Constructor Summary
RemoteSLAServiceImpl(StateRepository repository, org.apache.axis.message.addressing.EndpointReferenceType endpoint)
          Deprecated.  
 
Method Summary
 void addTrustedAccountService(org.apache.axis.message.addressing.EndpointReferenceType service)
          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.
 SLAConversation createSLA(org.apache.axis.message.addressing.EndpointReferenceType billingInfo, SLAProposal terms, String label)
          Deprecated.  
 org.apache.axis.message.addressing.EndpointReferenceType createSLA(org.apache.axis.message.addressing.EndpointReferenceType billingInfo, SLAProposal terms, String label, MatchRule owner)
          Deprecated.  
 org.apache.axis.message.addressing.EndpointReferenceType createSLA(SLAProposal terms, String label)
          Deprecated.  
 org.apache.axis.message.addressing.EndpointReferenceType createSLA(SLAProposal terms, String label, MatchRule owner)
          Deprecated. Create a new agreement.
 org.apache.axis.message.addressing.EndpointReferenceType createSLATemplate(Document doc, MatchRule owner)
          Deprecated. Create a new SLA Template.
 void destroy()
          Deprecated.  
 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 getDefaultSLA()
          Deprecated.  
 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.
 org.apache.axis.message.addressing.EndpointReferenceType getEPR()
          Deprecated.  
 Class getInterface()
          Deprecated. Returns the type of this object.
 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 service)
          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 setDefaultSLA(String sla)
          Deprecated.  
 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

RemoteSLAServiceImpl

public RemoteSLAServiceImpl(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

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

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

getEPR

public org.apache.axis.message.addressing.EndpointReferenceType getEPR()
Deprecated. 

createSLA

public org.apache.axis.message.addressing.EndpointReferenceType createSLA(SLAProposal terms,
                                                                          String label)
                                                                   throws RemoteException
Deprecated. 
Specified by:
createSLA in interface RemoteSLAService
Throws:
RemoteException

createSLA

public SLAConversation createSLA(org.apache.axis.message.addressing.EndpointReferenceType billingInfo,
                                 SLAProposal terms,
                                 String label)
                          throws RemoteException
Deprecated. 
Specified by:
createSLA in interface RemoteSLAService
Throws:
RemoteException

createSLA

public org.apache.axis.message.addressing.EndpointReferenceType createSLA(org.apache.axis.message.addressing.EndpointReferenceType billingInfo,
                                                                          SLAProposal terms,
                                                                          String label,
                                                                          MatchRule owner)
                                                                   throws RemoteException
Deprecated. 
Specified by:
createSLA in interface RemoteSLAService
Throws:
RemoteException

createSLA

public org.apache.axis.message.addressing.EndpointReferenceType createSLA(SLAProposal terms,
                                                                          String label,
                                                                          MatchRule owner)
                                                                   throws RemoteException
Deprecated. 
Description copied from interface: SLAService
Create a new agreement.

Specified by:
createSLA in interface SLAService
Parameters:
terms - a filled-in SLA Proposal
label - a label to use for the SLA
owner - a match rule to identify the owner of the SLA in future
Returns:
the EPR of the new SLA
Throws:
RemoteException

createSLATemplate

public org.apache.axis.message.addressing.EndpointReferenceType createSLATemplate(Document doc,
                                                                                  MatchRule owner)
                                                                           throws RemoteException
Deprecated. 
Description copied from interface: SLAService
Create a new SLA Template.

Specified by:
createSLATemplate in interface SLAService
Parameters:
doc - the document to create the SLA Template from
owner - a match rule to identify the owner of the SLA Template in future
Returns:
the EPR of the new SLA Template
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 service)
                              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:
service - the EPR of the service
Throws:
RemoteException

removeTrustedAccountService

public void removeTrustedAccountService(org.apache.axis.message.addressing.EndpointReferenceType service)
                                 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:
service - the EPR of the service
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. 

getDefaultSLA

public String getDefaultSLA()
Deprecated. 
Specified by:
getDefaultSLA in interface RemoteSLAService

setDefaultSLA

public void setDefaultSLA(String sla)
Deprecated. 
Specified by:
setDefaultSLA in interface RemoteSLAService

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

destroy

public void destroy()
             throws ResourceUnknownFault,
                    ResourceNotDestroyedFault,
                    RemoteException
Deprecated. 
Specified by:
destroy in interface WSResourceLifetime
Throws:
ResourceUnknownFault
ResourceNotDestroyedFault
RemoteException


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