public abstract class JmxCommand extends Command
Constructor and Description |
---|
JmxCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute()
Each subclass should implement an execute methode to implement its behaviour.
|
protected abstract void |
execute(MBeanServerConnection mBeanServerConnection) |
protected void |
validate(org.kohsuke.args4j.CmdLineParser parser) |
getDescription, getParser, isHelp, printUsage, run
protected void validate(org.kohsuke.args4j.CmdLineParser parser) throws org.kohsuke.args4j.CmdLineException
protected void execute() throws org.kohsuke.args4j.CmdLineException, CmdRunException
Command
execute
in class Command
org.kohsuke.args4j.CmdLineException
CmdRunException
protected abstract void execute(MBeanServerConnection mBeanServerConnection) throws MBeanServerQueryException, IOException, JMException
Copyright © 2021. All rights reserved.