uk.ac.rdg.resc.jstyx.gridservice.server
Class StyxGridService

java.lang.Object
  extended by uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridService

public class StyxGridService
extends java.lang.Object

Class representing a Styx Grid Service

Author:
Jon Blower $Revision: 601 $ $Date: 2006-03-20 17:51:50 +0000 (Mon, 20 Mar 2006) $ $Log$ Revision 1.22 2006/03/20 17:51:47 jonblower Adding authentication to base JStyx system Revision 1.21 2006/01/05 12:09:15 jonblower Restructured configuration to give default values for server settings Revision 1.20 2006/01/05 08:57:38 jonblower Created instance IDs that are unique for all time Revision 1.19 2006/01/04 16:45:29 jonblower Implemented automatic termination of SGS instances using Quartz scheduler Revision 1.18 2005/12/07 08:55:04 jonblower Temporarily changed clone file behaviour to return ID rather than full URL to new service instances Revision 1.17 2005/12/01 08:37:23 jonblower Changed clone file behaviour to return URL to new service instance instead of just the ID Revision 1.16 2005/11/09 17:50:45 jonblower Added config file to namespace Revision 1.15 2005/07/29 16:56:07 jonblower Implementing reading command line asynchronously Revision 1.13 2005/05/19 18:42:07 jonblower Implementing specification of input files required by SGS Revision 1.12 2005/05/17 15:10:46 jonblower Changed structure of SGS to put instances in a directory of their own Revision 1.11 2005/05/13 16:49:34 jonblower Coded dynamic detection and display of service data, also included streams in config file Revision 1.10 2005/05/11 15:14:31 jonblower Implemented more flexible definition of service data elements Revision 1.9 2005/05/11 13:45:19 jonblower Converted SGS config code to use dom4j and Jaxen for XML parsing Revision 1.8 2005/05/09 07:13:51 jonblower Changed getFileOnDisk() to getFileOrDirectoryOnDisk() Revision 1.7 2005/04/28 08:11:14 jonblower Modified permissions handling in documentation directory of SGS Revision 1.6 2005/04/27 16:11:43 jonblower Added capability to add documentation files to SGS namespace Revision 1.5 2005/03/24 14:47:47 jonblower Provided default read() and write() methods for StyxFile so it is no longer abstract Revision 1.4 2005/03/24 09:48:31 jonblower Changed 'count' from long to int throughout for reading and writing Revision 1.3 2005/03/24 07:57:41 jonblower Improved code for reading SSL info from SGSconfig file and included parameter information for the Grid Services in the config file Revision 1.2 2005/03/22 17:45:25 jonblower Now reads SSL switch from config file Revision 1.1 2005/03/16 22:16:44 jonblower Added Styx Grid Service classes to core module Revision 1.3 2005/03/16 17:59:35 jonblower Changed following changes to core JStyx library (replacement of java.nio.ByteBuffers with MINA's ByteBuffers) Revision 1.2 2005/02/21 18:13:23 jonblower Following changes to core JStyx library Revision 1.1 2005/02/16 19:22:32 jonblower Commit adding of SGS files to CVS

Constructor Summary
StyxGridService(SGSConfig sgsConfig)
          Creates a new StyxGridService.
 
Method Summary
 StyxDirectory getRoot()
           
static void main(java.lang.String[] args)
           
 void scheduleTermination(uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridServiceInstance instance, java.util.Date terminationTime)
          Schedules the termination of the given SGS instance at the given time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyxGridService

public StyxGridService(SGSConfig sgsConfig)
                throws StyxException
Creates a new StyxGridService.

Parameters:
sgsConfig - Object containing the configuration of the SGS
Throws:
StyxException
Method Detail

getRoot

public StyxDirectory getRoot()

scheduleTermination

public void scheduleTermination(uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridServiceInstance instance,
                                java.util.Date terminationTime)
Schedules the termination of the given SGS instance at the given time. If the scheduler has not been initialized (which is very unlikely to happen) this method will return silently without doing anything.


main

public static void main(java.lang.String[] args)


Copyright © 2004-2006 Reading e-Science Centre. All Rights Reserved.