org.jasig.portal.portlets.registerportal.data
Class JvmDataCollector

java.lang.Object
  extended by org.jasig.portal.portlets.registerportal.data.JvmDataCollector
All Implemented Interfaces:
IPortalDataCollector

public class JvmDataCollector
extends Object
implements IPortalDataCollector

Gathers JVM System Properties

Version:
$Revision: 19776 $
Author:
Eric Dalquist

Constructor Summary
JvmDataCollector()
           
 
Method Summary
 Map<String,String> getData()
           
 String getKey()
          The key that identifies the data being retrieved.
 void setPropertiesToCollect(Set<String> propertiesToCollect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvmDataCollector

public JvmDataCollector()
Method Detail

setPropertiesToCollect

public void setPropertiesToCollect(Set<String> propertiesToCollect)
Parameters:
propertiesToCollect - the propertiesToCollect to set

getData

public Map<String,String> getData()
Specified by:
getData in interface IPortalDataCollector
Returns:
The data, current as of this call.

getKey

public String getKey()
Description copied from interface: IPortalDataCollector
The key that identifies the data being retrieved. Will never be null and must be immutable (subsiquent calls to the the method will always return the same key).

Specified by:
getKey in interface IPortalDataCollector
Returns:
The key that identifies the data being retrieved. Will never be null


Copyright © 2010 Jasig. All Rights Reserved.