org.globus.cog.abstraction.impl.common.sandbox
Class SandboxingTaskHandlerDelegate
java.lang.Object
java.lang.Thread
org.globus.cog.abstraction.impl.common.sandbox.SandboxingTaskHandlerDelegate
- All Implemented Interfaces:
- Runnable
- public class SandboxingTaskHandlerDelegate
- extends Thread
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
SandboxingTaskHandlerDelegate
public SandboxingTaskHandlerDelegate()
SandboxingTaskHandlerDelegate
public SandboxingTaskHandlerDelegate(TaskHandler handler)
setTaskHandler
public void setTaskHandler(TaskHandler handler)
run
public void run()
request
protected Object request(int type)
request
protected Object request(int type,
Task task)
throws IllegalSpecException,
InvalidSecurityContextException,
InvalidServiceContactException,
TaskSubmissionException,
ActiveTaskException
- Throws:
IllegalSpecException
InvalidSecurityContextException
InvalidServiceContactException
TaskSubmissionException
ActiveTaskException
request
protected void request(org.globus.cog.abstraction.impl.common.sandbox.SandboxingTaskHandlerDelegate.Request request)
throws IllegalSpecException,
InvalidSecurityContextException,
InvalidServiceContactException,
TaskSubmissionException,
ActiveTaskException
- Throws:
IllegalSpecException
InvalidSecurityContextException
InvalidServiceContactException
TaskSubmissionException
ActiveTaskException
terminate
public void terminate()
submit
public void submit(Task task)
throws IllegalSpecException,
InvalidSecurityContextException,
InvalidServiceContactException,
TaskSubmissionException
- Throws:
IllegalSpecException
InvalidSecurityContextException
InvalidServiceContactException
TaskSubmissionException
suspend
public void suspend(Task task)
throws InvalidSecurityContextException,
TaskSubmissionException
- Throws:
InvalidSecurityContextException
TaskSubmissionException
resume
public void resume(Task task)
throws InvalidSecurityContextException,
TaskSubmissionException
- Throws:
InvalidSecurityContextException
TaskSubmissionException
cancel
public void cancel(Task task)
throws InvalidSecurityContextException,
TaskSubmissionException
- Throws:
InvalidSecurityContextException
TaskSubmissionException
remove
public void remove(Task task)
throws ActiveTaskException
- Throws:
ActiveTaskException
getAllTasks
public Collection getAllTasks()
getActiveTasks
public Collection getActiveTasks()
getFailedTasks
public Collection getFailedTasks()
getCompletedTasks
public Collection getCompletedTasks()
getSuspendedTasks
public Collection getSuspendedTasks()
getResumedTasks
public Collection getResumedTasks()
getCanceledTasks
public Collection getCanceledTasks()
getBootClassName
public String getBootClassName()
setBootClassName
public void setBootClassName(String bootClassName)