org.ow2.jasmine.monitoring.mbeancmd.commands
Class Dump

java.lang.Object
  extended by org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
      extended by org.ow2.jasmine.monitoring.mbeancmd.commands.Dump
All Implemented Interfaces:
Command

public class Dump
extends AbstractCommand

Command that dumps thread information on a given J2EE server.


Field Summary
 
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
arguments, name, SIMPLEDATEFORMAT
 
Constructor Summary
Dump()
           
 
Method Summary
 int exec(CommandDispatcher cmdDispatcher)
          Implementation of inherited abstract method.
 java.lang.String summary()
          Abstract redefinition of inherited method.
 
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
getHelpDoc, getName, help, setArgs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dump

public Dump()
Method Detail

exec

public int exec(CommandDispatcher cmdDispatcher)
Implementation of inherited abstract method. Executes the command.

Specified by:
exec in interface Command
Specified by:
exec in class AbstractCommand
Returns:
0 if succeeded, an error code otherwise.
See Also:
AbstractCommand#exec()

summary

public java.lang.String summary()
Abstract redefinition of inherited method. Retrieves the command's summary.

Specified by:
summary in interface Command
Specified by:
summary in class AbstractCommand
Returns:
Command's summary.
See Also:
AbstractCommand.summary()


Copyright © 2008 OW2 Consortium. All Rights Reserved.