org.globus.mds.usefulrp.glue
Class GangliaElementProducer

java.lang.Object
  extended byorg.globus.mds.usefulrp.glue.GangliaElementProducer
All Implemented Interfaces:
GLUEElementProducer, ResourcePropertyElementProducer

public class GangliaElementProducer
extends Object
implements GLUEElementProducer, ResourcePropertyElementProducer

An instance of this class will provide an XML element for a cluster in the GLUE schema using data gathered from a ganglia gmetad that should be running elsewhere. This can then be used, for example, as a ResourceProperty value.


Constructor Summary
GangliaElementProducer()
          Creates an instance with all default params.
 
Method Summary
 Element getElement()
           
 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

GangliaElementProducer

public GangliaElementProducer()
Creates an instance with all default params.

Method Detail

getElement

public Element getElement()
                   throws Exception
Specified by:
getElement in interface GLUEElementProducer
Throws:
Exception

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
Parameters:
args - An string argument vector to be passed as parameters to the implementing class
Returns:
A DOM Element
Throws:
Exception


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