|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
org.ow2.jasmine.monitoring.mbeancmd.commands.Dump
public class Dump
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()
Constructor: calls setOptions(). |
|
| Method Summary | |
|---|---|
int |
exec(CommandDispatcher cmdDispatcher)
Implementation of inherited abstract method. |
static void |
main(java.lang.String[] args)
Tests the Dump implementation. |
void |
parseCommandLine(java.lang.String[] args)
Parses the command line arguments into commandLine. |
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 |
|---|
public Dump()
setOptions().
| Method Detail |
|---|
public int exec(CommandDispatcher cmdDispatcher)
exec in interface Commandexec in class AbstractCommandcmdDispatcher - the command dispatcher
AbstractCommand#exec()
public void parseCommandLine(java.lang.String[] args)
throws org.apache.commons.cli.ParseException,
javax.management.MalformedObjectNameException
commandLine.
args - Arguments to parse.
org.apache.commons.cli.ParseException - If parsing fails.
javax.management.MalformedObjectNameException - Object name given in the command line is invalid.public java.lang.String summary()
summary in interface Commandsummary in class AbstractCommandAbstractCommand.summary()public static void main(java.lang.String[] args)
args - Arguments to pass to Dump#setArgs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||