webwork.examples
Class SystemInfo

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bywebwork.examples.SystemInfo
All Implemented Interfaces:
Action, IllegalArgumentAware, java.io.Serializable

public class SystemInfo
extends ActionSupport

This action samples some virtual machine runtime information.

Version:
$Revision: 1.4 $
Author:
Philipp Meier ()
See Also:
Serialized Form

Field Summary
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages, log
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
SystemInfo()
           
 
Method Summary
 long currentTimeMillis()
           
protected  java.lang.String doExecute()
           
 long getFreeMemory()
           
 java.util.Properties getProperties()
           
 long getTotalMemory()
           
 long getUsedMemory()
           
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doValidation, execute, getActionName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getText, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemInfo

public SystemInfo()
Method Detail

currentTimeMillis

public long currentTimeMillis()

getProperties

public java.util.Properties getProperties()

getFreeMemory

public long getFreeMemory()

getTotalMemory

public long getTotalMemory()

getUsedMemory

public long getUsedMemory()

doExecute

protected java.lang.String doExecute()
Overrides:
doExecute in class ActionSupport


Copyright © 2001-2003 WebWork All Rights Reserved.