Package org.apache.activemq.broker.jmx

Examples of org.apache.activemq.broker.jmx.FTConnectorView


    }

    protected void registerFTConnectorMBean(MasterConnector connector) throws IOException {
        MBeanServer mbeanServer = getManagementContext().getMBeanServer();
        if (mbeanServer != null) {
            FTConnectorView view = new FTConnectorView(connector);
            try {
                ObjectName objectName = new ObjectName(managementContext.getJmxDomainName() + ":" + "BrokerName="
                        + JMXSupport.encodeObjectNamePart(getBrokerName()) + "," + "Type=MasterConnector");
                mbeanServer.registerMBean(view, objectName);
                registeredMBeanNames.add(objectName);
View Full Code Here


    }

    protected void registerFTConnectorMBean(MasterConnector connector) throws IOException {
        MBeanServer mbeanServer = getManagementContext().getMBeanServer();
        if (mbeanServer != null) {
            FTConnectorView view = new FTConnectorView(connector);
            try {
                ObjectName objectName = new ObjectName(managementContext.getJmxDomainName() + ":" + "BrokerName=" + JMXSupport.encodeObjectNamePart(getBrokerName()) + ","
                                                       + "Type=MasterConnector");
                mbeanServer.registerMBean(view, objectName);
                registeredMBeanNames.add(objectName);
View Full Code Here

TOP

Related Classes of org.apache.activemq.broker.jmx.FTConnectorView

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.