|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.ecs.iam.grid.client.staterepos.SLAConversationImpl
@Deprecated public class SLAConversationImpl
The default implementation of SLAConversation.
| Field Summary |
|---|
| Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.sla.SLAResource |
|---|
SLA_RESOURCE_TYPE |
| Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.wstrust.WSTrust |
|---|
DEFAULT_WSTRUST_ISSUER, requestSecurityToken, VALIDATE_SUBJECT_DESCRIPTION, WSTRUST_REQUEST_TYPE_ISSUANCE, WSTRUST_REQUEST_TYPE_VALIDATION, WSTRUST_SAML_1_1, WSTRUST_STATUS, WSTRUST_STATUS_INVALID, WSTRUST_STATUS_VALID, XMLNS_WSTRUST, XMLNS_WSU |
| Constructor Summary | |
|---|---|
SLAConversationImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addOwnerRule(MatchRule rule)
Deprecated. Add a rule controlling who has the 'owner' role. |
void |
addPolicyRule(PolicyRule rule)
Deprecated. Add an access control rule to this resource's dynamic access control policy. |
void |
addUserRule(MatchRule rule)
Deprecated. Enable access to an SLA to another user |
boolean |
checkUser(SubjectDescription user)
Deprecated. Test whether this user has the 'user' role. |
void |
close()
Deprecated. |
void |
closeSLA()
Deprecated. Close an SLA |
int |
compareTo(StorableInStateRepository other)
Deprecated. |
void |
continueActivity(org.apache.axis.message.addressing.EndpointReferenceType activityEPR,
Constraint[] constraints)
Deprecated. Checks that a change in an activity should be permitted. |
void |
destroy()
Deprecated. |
void |
finish()
Deprecated. Indicate that this conversation is no longer required. |
String[] |
getAvailableSignals()
Deprecated. List the signals which are available given the resource's current state. |
StorableInStateRepository[] |
getChildConversations()
Deprecated. Returns an array of all conversations having this one as a parent. |
String |
getDescription()
Deprecated. Returns a textual description of the object. |
org.apache.axis.message.addressing.EndpointReferenceType |
getEndpointRef()
Deprecated. Return an EndpointReferenceType for this conversation. |
org.apache.axis.message.addressing.EndpointReferenceType |
getEPR()
Deprecated. Get the EPR for this resource. |
Class |
getInterface()
Deprecated. Returns the type of this object. |
MatchRule[] |
getOwnerRules()
Deprecated. List the current rules used to determine whether someone has the 'owner' role (which allows them to charge to this account. |
URL |
getParentURL()
Deprecated. Returns the URL of this object's parent. |
PolicyRule[] |
getPolicyRules()
Deprecated. Get the access control rules in this resource's dynamic access control policy. |
StateRepository |
getRepository()
Deprecated. Get the StateRepository holding this object. |
RemoteService |
getService()
Deprecated. Return the conversation's RemoteService. |
String |
getSLAState()
Deprecated. Gets the state of an SLA |
SLATemplate |
getSLATerms()
Deprecated. Gets the Terms for an SLA |
URL |
getURL()
Deprecated. Returns the globally unique identifier. |
SLAUsageSummary |
getUsage(Date start,
Date end,
long interval,
long maxReports)
Deprecated. Gets usage reports from an sla |
Document |
getUsageSummary()
Deprecated. Old way to get usage. |
MatchRule[] |
getUserRules()
Deprecated. List the current rules used to determine whether someone has the 'user' role (which allows them to charge to this account. |
String[] |
getValidRoles()
Deprecated. List the roles the caller is permitted to see. |
boolean |
isFinished()
Deprecated. Returns true if the finish method has been called. |
void |
outOfDate()
Deprecated. Used by the StateRepository if the server returns new resource with our ID. |
void |
removeOwnerRule(MatchRule rule)
Deprecated. Remove a rule controlling who has the 'owner' role. |
void |
removePolicyRule(PolicyRule rule)
Deprecated. Remove an access control rule from this resource's dynamic access control policy. |
void |
removeUserRule(MatchRule rule)
Deprecated. Disable access to an SLA for a user |
Document |
RequestSecurityToken(Element doc)
Deprecated. Request a security token, as defined by the WS-Trust specification. |
void |
setDescription(String description)
Deprecated. Change the textual description, as returned by getDescription. |
void |
setLabel(String label)
Deprecated. Change the resource's label. |
String |
signal(String signalName)
Deprecated. Signal an event to the resource's PBAC process. |
void |
startActivity(org.apache.axis.message.addressing.EndpointReferenceType activityEPR,
Constraint[] constraints,
UsageReport[] reports)
Deprecated. Check that an activity should be started. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SLAConversationImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
throws ObjectAlreadyExists
ObjectAlreadyExists| Method Detail |
|---|
public URL getURL()
StorableInStateRepository
getURL in interface StorableInStateRepositorypublic URL getParentURL()
StorableInStateRepository
getParentURL in interface StorableInStateRepositorypublic String getDescription()
StorableInStateRepository
getDescription in interface StorableInStateRepositorypublic void setDescription(String description)
StorableInStateRepository
setDescription in interface StorableInStateRepositorypublic StateRepository getRepository()
StorableInStateRepository
getRepository in interface StorableInStateRepositorypublic StorableInStateRepository[] getChildConversations()
Conversation
getChildConversations in interface Conversationpublic void finish()
Conversation
Note that this does not close the conversation with the
remote supplier. You should normally call a different method,
such as WSResourceLifetime.destroy().
finish in interface Conversationpublic boolean isFinished()
Conversation
isFinished in interface Conversationpublic void outOfDate()
Conversation
outOfDate in interface Conversation
public void setLabel(String label)
throws RemoteException
ResourceMetadata
setLabel in interface ResourceMetadatalabel - the new label
RemoteExceptionpublic Class getInterface()
StorableInStateRepository
getInterface in interface StorableInStateRepositorypublic RemoteService getService()
Conversation
getService in interface Conversationpublic org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
StorableInStateRepository
getEndpointRef in interface StorableInStateRepositorypublic org.apache.axis.message.addressing.EndpointReferenceType getEPR()
ResourceMetadata
getEPR in interface ResourceMetadatathe label set with {@link setLabel},
a unique type URI,
the state of the resource,
the resource which manages this one (e.g. an SLA manages a job),
the resource which contains this one (e.g. a job service is the parent of a job)
public void startActivity(org.apache.axis.message.addressing.EndpointReferenceType activityEPR,
Constraint[] constraints,
UsageReport[] reports)
throws RemoteException
SLAResource
startActivity in interface SLAResourceactivityEPR - the new resource (must implement ReportAPI port type).constraints - requirements
RemoteException - if the activity should not be started
public void continueActivity(org.apache.axis.message.addressing.EndpointReferenceType activityEPR,
Constraint[] constraints)
throws RemoteException
SLAResource
continueActivity in interface SLAResourceactivityEPR - the new resource (must implement ReportAPI port type).constraints - the new requirements
RemoteException - if the change should be refused
public void closeSLA()
throws RemoteException
SLAResource
closeSLA in interface SLAResourceRemoteException
public void addOwnerRule(MatchRule rule)
throws RemoteException
SLAResource
addOwnerRule in interface SLAResourcerule - the rule to add
RemoteException
public void removeOwnerRule(MatchRule rule)
throws RemoteException
SLAResource
removeOwnerRule in interface SLAResourcerule - the rule to add
RemoteException
public MatchRule[] getOwnerRules()
throws RemoteException
SLAResource
getOwnerRules in interface SLAResourceRemoteException
public void addUserRule(MatchRule rule)
throws RemoteException
SLAResource
addUserRule in interface SLAResourcerule - the rule to add
RemoteException
public void removeUserRule(MatchRule rule)
throws RemoteException
SLAResource
removeUserRule in interface SLAResourcerule - the rule to add
RemoteException
public MatchRule[] getUserRules()
throws RemoteException
SLAResource
getUserRules in interface SLAResourceRemoteException
public SLATemplate getSLATerms()
throws RemoteException
SLAResource
getSLATerms in interface SLAResourceRemoteException
public String getSLAState()
throws RemoteException
SLAResource
getSLAState in interface SLAResourceRemoteException
public void close()
throws RemoteException
RemoteException
public boolean checkUser(SubjectDescription user)
throws RemoteException
SLAResource
checkUser in interface SLAResourceuser - user to test.
RemoteException - if the caller is not permitted to check
public Document getUsageSummary()
throws RemoteException
SLAResource
getUsageSummary in interface SLAResourceRemoteException
public SLAUsageSummary getUsage(Date start,
Date end,
long interval,
long maxReports)
throws RemoteException
SLAResource
getUsage in interface SLAResourcestart - the start time of the usage interval to request.end - the end time of the usage interval to request.interval - the specified time between reports in milliseconds.maxReports - the max number of reports to return.
RemoteExceptionpublic int compareTo(StorableInStateRepository other)
compareTo in interface Comparable<StorableInStateRepository>
public void addPolicyRule(PolicyRule rule)
throws RemoteException
PolicyManagement
addPolicyRule in interface PolicyManagementRemoteExceptionPDP.addAccessControlRule(java.lang.String, uk.ac.soton.itinnovation.grid.types.MatchRule)
public void removePolicyRule(PolicyRule rule)
throws RemoteException
PolicyManagement
removePolicyRule in interface PolicyManagementRemoteExceptionPDP.removeAccessControlRule(java.lang.String, uk.ac.soton.itinnovation.grid.types.MatchRule)
public PolicyRule[] getPolicyRules()
throws RemoteException
PolicyManagementPolicyManagement.getValidRoles().
getPolicyRules in interface PolicyManagementRemoteExceptionPDP.getAccessControlRules(java.lang.String, java.lang.String)
public String[] getValidRoles()
throws RemoteException
PolicyManagementPolicyManagement.getPolicyRules().
getValidRoles in interface PolicyManagementRemoteExceptionPDP.getValidProcessRoles(java.lang.String)
public Document RequestSecurityToken(Element doc)
throws RemoteException
WSTrust
RequestSecurityToken in interface WSTrustdoc - a <RequestSecurityToken>
RemoteException
public String signal(String signalName)
throws RemoteException
Signallable
signal in interface SignallablesignalName - the event causing the transition
RemoteException
public String[] getAvailableSignals()
throws RemoteException
Signallable
getAvailableSignals in interface SignallableRemoteExceptionSignallable.signal(java.lang.String)
public void destroy()
throws ResourceUnknownFault,
ResourceNotDestroyedFault,
RemoteException
destroy in interface WSResourceLifetimeResourceUnknownFault
ResourceNotDestroyedFault
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||