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

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

public class JVMInfoElementProducer
extends Object
implements ResourcePropertyElementProducer

An MDS ResourcePropertyElementProducer that will allow services to easily publish JVM status information (limited to JDK system calls only) in the GLUE schema format.


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

Constructor Detail

JVMInfoElementProducer

public JVMInfoElementProducer()
                       throws Exception
Throws:
Exception - passes along any exception encountered during construction of underlying ReflectionResourceProperty.
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
Parameters:
args - An string argument vector to be passed as parameters to the implementing class
Returns:
A DOM Element
Throws:
Exception

setNamespace

public void setNamespace(String namespacePrefix,
                         String namespaceURI)
                  throws Exception
Throws:
Exception

toString

public String toString()

updateSystemInfo

protected void updateSystemInfo()
                         throws Exception
Throws:
Exception

updateFileSystemInfo

protected void updateFileSystemInfo()
                             throws Exception
Throws:
Exception


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