Package org.apache.servicemix.jbi.management

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


    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");
    ph.setDescription(0, "name", "name of component to shutdown");

    ph = helper.addOperation(getObjectToManage(), "deployServiceAssembly",
        1, "deploy a service assembly");
View Full Code Here


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

    ph = helper.addOperation(getObjectToManage(), "deployServiceAssembly",
        1, "deploy a service assembly");
    ph.setDescription(0, "file", "location of service assembly to deploy");

    ph = helper.addOperation(getObjectToManage(),
        "undeployServiceAssembly", 1, "undeploy a service assembly");
View Full Code Here

    ph = helper.addOperation(getObjectToManage(), "deployServiceAssembly",
        1, "deploy a service assembly");
    ph.setDescription(0, "file", "location of service assembly to deploy");

    ph = helper.addOperation(getObjectToManage(),
        "undeployServiceAssembly", 1, "undeploy a service assembly");
    ph.setDescription(0, "name", "name of service assembly to undeploy");

    ph = helper.addOperation(getObjectToManage(), "startServiceAssembly",
        1, "start a service assembly");
View Full Code Here

    ph = helper.addOperation(getObjectToManage(),
        "undeployServiceAssembly", 1, "undeploy a service assembly");
    ph.setDescription(0, "name", "name of service assembly to undeploy");

    ph = helper.addOperation(getObjectToManage(), "startServiceAssembly",
        1, "start a service assembly");
    ph.setDescription(0, "name", "name of service assembly to start");

    ph = helper.addOperation(getObjectToManage(), "stopServiceAssembly", 1,
        "stop a service assembly");
View Full Code Here

    ph = helper.addOperation(getObjectToManage(), "startServiceAssembly",
        1, "start a service assembly");
    ph.setDescription(0, "name", "name of service assembly to start");

    ph = helper.addOperation(getObjectToManage(), "stopServiceAssembly", 1,
        "stop a service assembly");
    ph.setDescription(0, "name", "name of service assembly to stop");

    ph = helper.addOperation(getObjectToManage(),
        "shutdownServiceAssembly", "shutdown a service assembly");
View Full Code Here

    ph = helper.addOperation(getObjectToManage(), "stopServiceAssembly", 1,
        "stop a service assembly");
    ph.setDescription(0, "name", "name of service assembly to stop");

    ph = helper.addOperation(getObjectToManage(),
        "shutdownServiceAssembly", "shutdown a service assembly");
    ph.setDescription(0, "name", "name of service assembly to shutdown");

    ph = helper.addOperation(getObjectToManage(), "listComponents", 5,
        "list all components installed");
View Full Code Here

    ph = helper.addOperation(getObjectToManage(),
        "shutdownServiceAssembly", "shutdown a service assembly");
    ph.setDescription(0, "name", "name of service assembly to shutdown");

    ph = helper.addOperation(getObjectToManage(), "listComponents", 5,
        "list all components installed");
    ph.setDescription(0, "excludeSEs",
        "if true will exclude service engines");
    ph.setDescription(1, "excludeBCs",
        "if true will exclude binding components");
View Full Code Here

        .setDescription(3, "sharedLibraryName",
            "shared library name to list");
    ph.setDescription(4, "serviceAssemblyName",
        "service assembly name to list");

    ph = helper.addOperation(getObjectToManage(), "listSharedLibraries", 2,
        "list shared library");
    ph.setDescription(0, "componentName", "component name");
    ph.setDescription(1, "sharedLibraryName", "shared library name");

    ph = helper.addOperation(getObjectToManage(), "listServiceAssemblies",
View Full Code Here

    ph = helper.addOperation(getObjectToManage(), "listSharedLibraries", 2,
        "list shared library");
    ph.setDescription(0, "componentName", "component name");
    ph.setDescription(1, "sharedLibraryName", "shared library name");

    ph = helper.addOperation(getObjectToManage(), "listServiceAssemblies",
        3, "list service assemblies");
    ph.setDescription(0, "state", "service assembly state to list");
    ph.setDescription(1, "componentName", "component name");
    ph.setDescription(2, "serviceAssemblyName", "service assembly name");
View Full Code Here

     *
     * @return array of OperationInfos
     */
    public MBeanOperationInfo[] getOperationInfos() {
        OperationInfoHelper helper = new OperationInfoHelper();
        helper.addOperation(getObjectToManage(), "reset", "reset statistic counters");
        return helper.getOperationInfos();
    }

}
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.