Package org.apache.servicemix.nmr.management

Examples of org.apache.servicemix.nmr.management.Nameable


    protected AdminCommandsService getAdminCommands() {
        return getOsgiService(AdminCommandsService.class);
    }

    private ObjectName getAdminCommandsName(ManagementStrategy ms) throws Exception {
        Nameable nameable = getNameable("AdminCommandsService",
                                        "ServiceMix",
                                        "SystemService",
                                        null,
                                        null,
                                        null);
View Full Code Here


                                       null,
                                       ObjectName.class);
    }

    private ObjectName getComponentName(ManagementStrategy ms, String componentName) throws Exception {
        Nameable nameable = getNameable(componentName,
                                        null,
                                        "Component",
                                        "LifeCycle",
                                        null,
                                        null);
View Full Code Here

        System.out.println("@@@ querying: " + on);
        return on;
    }

    private ObjectName getServiceAssemblyName(ManagementStrategy ms, String saName) throws Exception {
        Nameable nameable = getNameable(saName,
                                        null,
                                        "ServiceAssembly",
                                        null,
                                        null,
                                        null);
View Full Code Here

                                   final String parent,
                                   final String type,
                                   final String subtype,
                                   final String version,
                                   final Class primary) {
        return new Nameable() {
            public String getName() {
                return name;
            }                   
            public String getParent() {
                return parent;
View Full Code Here

        throw new IllegalStateException("This operation is not available at installation time");
    }

    public ObjectName createCustomComponentMBeanName(String customName) {
        ObjectName name = null;
        Nameable nameable = new Nameable() {
            public String getName() {
                return descriptor.getIdentification().getName();
            }
            public String getParent() {
                return null;
View Full Code Here

    }

    public ObjectName createCustomComponentMBeanName(String customName) {
        ObjectName name = null;
        try {
            Nameable nameable = new Nameable() {
                public String getName() {
                    return getComponentName();
                }
                public String getParent() {
                    return null;
View Full Code Here

TOP

Related Classes of org.apache.servicemix.nmr.management.Nameable

Copyright © 2018 www.massapicom. 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.