org.globus.mds.usefulrp.rpprovider.producers
Class SchedulerInfoElementProducer

java.lang.Object
  extended byorg.globus.mds.usefulrp.rpprovider.producers.ExternalProcessElementProducer
      extended byorg.globus.mds.usefulrp.rpprovider.producers.SchedulerInfoElementProducer
All Implemented Interfaces:
ResourcePropertyElementProducer

public class SchedulerInfoElementProducer
extends ExternalProcessElementProducer

Convenience class for executing GRAM scheduler info providers. This class makes the following assumptions about the argument vector: arg[0] is the name of the scheduler provider script to execute, relative to the base GLOBUS_LOCATION, and arg [1] is an optional container base URL which is passed as a parameter to the executed subprocess. If arg[1] is not specified, it will default to the base URL of the current container instance.


Constructor Summary
SchedulerInfoElementProducer()
           
 
Method Summary
 Element getElement(String[] args)
          Generate a DOM Element that can be used as a value of a Resource Property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulerInfoElementProducer

public SchedulerInfoElementProducer()
Method Detail

getElement

public Element getElement(String[] args)
                   throws Exception
Description copied from interface: ResourcePropertyElementProducer
Generate a DOM Element that can be used as a value of a Resource Property

Specified by:
getElement in interface ResourcePropertyElementProducer
Overrides:
getElement in class ExternalProcessElementProducer
Throws:
Exception


Copyright © 1999-2006 University of Chicago. All rights reserved.