Package org.apache.servicemix.jbi.management

Examples of org.apache.servicemix.jbi.management.OperationInfoHelper.addOperation()


     * @return array of OperationInfos
     * @throws JMException
     */
    public MBeanOperationInfo[] getOperationInfos() throws JMException {
        OperationInfoHelper helper = new OperationInfoHelper();
        helper.addOperation(getObjectToManage(), "suspend", "suspend the NMR processing");
        helper.addOperation(getObjectToManage(), "resume", "resume the NMR processing");

        return OperationInfoHelper.join(super.getOperationInfos(), helper.getOperationInfos());
    }

View Full Code Here


     * @throws JMException
     */
    public MBeanOperationInfo[] getOperationInfos() throws JMException {
        OperationInfoHelper helper = new OperationInfoHelper();
        helper.addOperation(getObjectToManage(), "suspend", "suspend the NMR processing");
        helper.addOperation(getObjectToManage(), "resume", "resume the NMR processing");

        return OperationInfoHelper.join(super.getOperationInfos(), helper.getOperationInfos());
    }

    public JBIContainer getContainer() {
View Full Code Here

     *
     * @return array of OperationInfos
     */
    public MBeanOperationInfo[] getOperationInfos() throws JMException {
        OperationInfoHelper helper = new OperationInfoHelper();
        helper.addOperation(getObjectToManage(), "resetAllStats", "reset all statistics");
        return OperationInfoHelper.join(super.getOperationInfos(), helper.getOperationInfos());
    }
   
    /*
     * Creates a {@link ComponentStats} instance for a component and adds it to the Map
View Full Code Here

    return ManagementSupport.createFrameworkMessage(msg, (List) null);
  }

  public MBeanOperationInfo[] getOperationInfos() throws JMException {
    OperationInfoHelper helper = new OperationInfoHelper();
    ParameterHelper ph = helper.addOperation(getObjectToManage(),
        "installComponent", 1, "install a component");
    ph.setDescription(0, "file", "location of JBI Component to install");

    ph = helper.addOperation(getObjectToManage(), "uninstallComponent", 1,
        "uninstall a component");
View Full Code Here

    OperationInfoHelper helper = new OperationInfoHelper();
    ParameterHelper ph = helper.addOperation(getObjectToManage(),
        "installComponent", 1, "install a component");
    ph.setDescription(0, "file", "location of JBI Component to install");

    ph = helper.addOperation(getObjectToManage(), "uninstallComponent", 1,
        "uninstall a component");
    ph.setDescription(0, "name", "component name to uninstall");

    ph = helper.addOperation(getObjectToManage(), "installSharedLibrary",
        1, "install a shared library");
View Full Code Here

    ph = helper.addOperation(getObjectToManage(), "uninstallComponent", 1,
        "uninstall a component");
    ph.setDescription(0, "name", "component name to uninstall");

    ph = helper.addOperation(getObjectToManage(), "installSharedLibrary",
        1, "install a shared library");
    ph.setDescription(0, "file", "location of shared library to install");

    ph = helper.addOperation(getObjectToManage(), "uninstallSharedLibrary",
        1, "uninstall a shared library");
View Full Code Here

    ph = helper.addOperation(getObjectToManage(), "installSharedLibrary",
        1, "install a shared library");
    ph.setDescription(0, "file", "location of shared library to install");

    ph = helper.addOperation(getObjectToManage(), "uninstallSharedLibrary",
        1, "uninstall a shared library");
    ph.setDescription(0, "name", "name of shared library to uninstall");

    ph = helper.addOperation(getObjectToManage(), "installArchive", 1,
        "install an archive (component/SA etc)");
View Full Code Here

    ph = helper.addOperation(getObjectToManage(), "uninstallSharedLibrary",
        1, "uninstall a shared library");
    ph.setDescription(0, "name", "name of shared library to uninstall");

    ph = helper.addOperation(getObjectToManage(), "installArchive", 1,
        "install an archive (component/SA etc)");
    ph.setDescription(0, "location", "file name or url to the location");

    ph = helper.addOperation(getObjectToManage(), "startComponent", 1,
        "start a component");
View Full Code Here

    ph = helper.addOperation(getObjectToManage(), "installArchive", 1,
        "install an archive (component/SA etc)");
    ph.setDescription(0, "location", "file name or url to the location");

    ph = helper.addOperation(getObjectToManage(), "startComponent", 1,
        "start a component");
    ph.setDescription(0, "name", "name of component to start");

    ph = helper.addOperation(getObjectToManage(), "stopComponent", 1,
        "stop a component");
View Full Code Here

    ph = helper.addOperation(getObjectToManage(), "startComponent", 1,
        "start a component");
    ph.setDescription(0, "name", "name of component to start");

    ph = helper.addOperation(getObjectToManage(), "stopComponent", 1,
        "stop a component");
    ph.setDescription(0, "name", "name of component to stop");

    ph = helper.addOperation(getObjectToManage(), "shutdownComponent", 1,
        "shutdown a component");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.