|
||||||||||
| 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.JobConversationImpl
RemoteResourceProxy
@Deprecated public class JobConversationImpl
The default implementation of JobConversation.
| Field Summary |
|---|
| Fields inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.JobConversation |
|---|
IO_TYPE_INPUT, IO_TYPE_METADATA, IO_TYPE_OUTPUT, JOB_RESOURCE_TYPE |
| Constructor Summary | |
|---|---|
JobConversationImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addPolicyRule(PolicyRule rule)
Deprecated. Add an access control rule to this resource's dynamic access control policy. |
void |
addStagersFromJSDL(JobDescription jsdlJobDesc)
Deprecated. Add each input or output in status to our internal cache. |
void |
addStagersFromStatus(JobStatus status)
Deprecated. Add each input or output in status to our internal cache. |
void |
cancelJob()
Deprecated. Cancel a job that has been started. |
JobStatus |
checkJob()
Deprecated. Check the current status of a job. |
int |
compareTo(StorableInStateRepository other)
Deprecated. |
void |
destroy()
Deprecated. |
void |
finish()
Deprecated. Indicate that this conversation is no longer required. |
void |
finishJob()
Deprecated. Finish the job conversation. |
List<String> |
getArguments()
Deprecated. |
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. |
DataConversation[] |
getInputs()
Deprecated. Returns the job's input stagers, in order. |
Class |
getInterface()
Deprecated. Returns the type of this object. |
String |
getJSDL()
Deprecated. Retrieves the original JSDL Document used to create the job |
DataConversation[] |
getOutputs()
Deprecated. Returns the job's output stagers, in order. |
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. |
URL |
getURL()
Deprecated. Returns the globally unique identifier. |
String[] |
getValidRoles()
Deprecated. List the roles the caller is permitted to see. |
DataConversation |
input(String name)
Deprecated. Get the named input conversation. |
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. |
DataConversation |
output(String name)
Deprecated. Get the named output conversation. |
void |
removePolicyRule(PolicyRule rule)
Deprecated. Remove an access control rule from this resource's dynamic access control policy. |
void |
setArguments(List<String> arguments)
Deprecated. |
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 |
startJob(String[] args)
Deprecated. - use submitJob(org.w3c.dom.Document, java.lang.String[]). |
boolean |
stillActive()
Deprecated. Tests whether the job is running (or queued). |
boolean |
stillActive(JobStatus jobStatus)
Deprecated. Like stillActive(), but takes the status returned by checkJob as input instead of performing checkJob operation itself. |
void |
submitJob(Document jobDescription,
String[] args)
Deprecated. |
void |
submitJobJSDL()
Deprecated. Submit the job (already defined by a JSDL document) to the queue, via the platform scripts. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobConversationImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
throws ObjectAlreadyExists
ObjectAlreadyExists| Method Detail |
|---|
public void outOfDate()
Conversation
outOfDate in interface Conversationpublic 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 URL getURL()
StorableInStateRepository
getURL in interface StorableInStateRepositorypublic URL getParentURL()
StorableInStateRepository
getParentURL 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 org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
StorableInStateRepository
getEndpointRef in interface StorableInStateRepositorypublic StateRepository getRepository()
StorableInStateRepository
getRepository in interface StorableInStateRepositorypublic String getDescription()
StorableInStateRepository
getDescription in interface StorableInStateRepositorypublic void setDescription(String description)
StorableInStateRepository
setDescription in interface StorableInStateRepositorypublic int compareTo(StorableInStateRepository other)
compareTo in interface Comparable<StorableInStateRepository>public Class getInterface()
StorableInStateRepository
getInterface in interface StorableInStateRepository
@Deprecated
public void startJob(String[] args)
throws RemoteException
submitJob(org.w3c.dom.Document, java.lang.String[]).
startJob in interface JobResourceRemoteException
@Deprecated
public void submitJob(Document jobDescription,
String[] args)
throws RemoteException
submitJob in interface JobResourcejobDescription - job constraints to be passed to the platform scriptsargs - arguments to pass to the application
RemoteException
public void submitJobJSDL()
throws RemoteException
JobResource
submitJobJSDL in interface JobResourceRemoteException
public boolean stillActive()
throws RemoteException
JobConversationJobResource.checkJob() method.
stillActive in interface JobConversationRemoteExceptionpublic boolean stillActive(JobStatus jobStatus)
JobConversation
stillActive in interface JobConversation
public JobStatus checkJob()
throws RemoteException
JobResource
checkJob in interface JobResourceRemoteExceptionpublic void addStagersFromStatus(JobStatus status)
JobConversation
addStagersFromStatus in interface JobConversationpublic void addStagersFromJSDL(JobDescription jsdlJobDesc)
JobConversation
addStagersFromJSDL in interface JobConversation
public void cancelJob()
throws RemoteException
JobResource
cancelJob in interface JobResourceRemoteException
public void finishJob()
throws RemoteException
JobResource
finishJob in interface JobResourceRemoteExceptionpublic RemoteService getService()
Conversation
getService in interface Conversation
public DataConversation[] getInputs()
throws RemoteException
JobConversation
getInputs in interface JobConversationRemoteException
public DataConversation[] getOutputs()
throws RemoteException
JobConversation
getOutputs in interface JobConversationRemoteException
public DataConversation input(String name)
throws RemoteException,
NoSuchConversation
JobConversation
input in interface JobConversationNoSuchConversation - if no stager with this name is known
RemoteException
public DataConversation output(String name)
throws RemoteException,
NoSuchConversation
JobConversation
output in interface JobConversationNoSuchConversation - if no stager with this name is known
RemoteException
public String[] getValidRoles()
throws RemoteException
PolicyManagementPolicyManagement.getPolicyRules().
getValidRoles in interface PolicyManagementRemoteExceptionPDP.getValidProcessRoles(java.lang.String)
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 void setLabel(String label)
throws RemoteException
ResourceMetadata
setLabel in interface ResourceMetadatalabel - the new label
RemoteException
public void destroy()
throws RemoteException
destroy in interface WSResourceLifetimeRemoteException
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 List<String> getArguments()
public void setArguments(List<String> arguments)
public String getJSDL()
throws RemoteException
JobResource
getJSDL in interface JobResourceRemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||