Class JmxCommand

    • Field Summary

      • Fields inherited from class org.opennms.features.jmxconfiggenerator.commands.Command

        LOG
    • Constructor Summary

      Constructors 
      Constructor Description
      JmxCommand()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void execute()
      Each subclass should implement an execute methode to implement its behaviour.
      protected abstract void execute​(javax.management.MBeanServerConnection mBeanServerConnection)  
      protected void validate​(org.kohsuke.args4j.CmdLineParser parser)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JmxCommand

        public JmxCommand()
    • Method Detail

      • validate

        protected void validate​(org.kohsuke.args4j.CmdLineParser parser)
                         throws org.kohsuke.args4j.CmdLineException
        Specified by:
        validate in class Command
        Throws:
        org.kohsuke.args4j.CmdLineException
      • execute

        protected void execute()
                        throws org.kohsuke.args4j.CmdLineException,
                               CmdRunException
        Description copied from class: Command
        Each subclass should implement an execute methode to implement its behaviour.
        Specified by:
        execute in class Command
        Throws:
        org.kohsuke.args4j.CmdLineException
        CmdRunException
      • execute

        protected abstract void execute​(javax.management.MBeanServerConnection mBeanServerConnection)
                                 throws MBeanServerQueryException,
                                        java.io.IOException,
                                        javax.management.JMException
        Throws:
        MBeanServerQueryException
        java.io.IOException
        javax.management.JMException