uk.ac.soton.itinnovation.grid.service.job.webadmin
Class JobAdmin

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.job.webadmin.JobAdmin

public class JobAdmin
extends Object

Code to create a web administration interface for job service.


Field Summary
protected static org.hibernate.SessionFactory factory
           
protected  HttpServletRequest request
           
protected  URL thisServiceURL
           
 
Constructor Summary
JobAdmin(HttpServletRequest request)
          Create a new JobAdmin from the parameters in this request.
 
Method Summary
 void doJobConfig(Writer out)
           
 Job getJob(String id)
           
 void initJobLists()
           
 boolean isServiceConfigured()
           
 String processApplicationsPOST()
          Check whether this request is a POST asking us to update anything.
 String processJobsPOST()
           
 void processPluginsPOST()
           
 void reloadPluginList()
           
 void showPendingJobs(Writer out)
           
 void showRMList(Writer out)
           
 void showRMOptions(Writer out, String name, String[] selectedRMs)
           
 void showSubmittedJobs(Writer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected static org.hibernate.SessionFactory factory

thisServiceURL

protected URL thisServiceURL

request

protected HttpServletRequest request
Constructor Detail

JobAdmin

public JobAdmin(HttpServletRequest request)
         throws Stop
Create a new JobAdmin from the parameters in this request.

Throws:
Stop
Method Detail

processApplicationsPOST

public String processApplicationsPOST()
                               throws Stop
Check whether this request is a POST asking us to update anything.

Returns:
a success message, or null if no action was performed
Throws:
Stop

processJobsPOST

public String processJobsPOST()
                       throws Stop
Throws:
Stop

processPluginsPOST

public void processPluginsPOST()
                        throws Stop
Throws:
Stop

reloadPluginList

public void reloadPluginList()
                      throws Exception
Throws:
Exception

initJobLists

public void initJobLists()

showSubmittedJobs

public void showSubmittedJobs(Writer out)
                       throws IOException
Throws:
IOException

showPendingJobs

public void showPendingJobs(Writer out)
                     throws IOException
Throws:
IOException

showRMOptions

public void showRMOptions(Writer out,
                          String name,
                          String[] selectedRMs)
                   throws IOException
Throws:
IOException

showRMList

public void showRMList(Writer out)
                throws IOException
Throws:
IOException

doJobConfig

public void doJobConfig(Writer out)
                 throws Exception
Throws:
Exception

isServiceConfigured

public boolean isServiceConfigured()

getJob

public Job getJob(String id)
           throws RemoteException
Throws:
RemoteException


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