Package org.apache.tuscany.service.management.jmx.instrument

Examples of org.apache.tuscany.service.management.jmx.instrument.InstrumentedComponent


    public final void registerComponent(String name, Component component) throws JmxException {

        try {  
            name = name.replace(":", "-");
            ObjectName on = new ObjectName(managementDomain + ":" + "type=component,name=" + name);
            InstrumentedComponent mbean = new InstrumentedComponent(component);
            mBeanServer.registerMBean(mbean, on);
        } catch (JMException ex) {
            throw new JmxException("Unable to register " + name, ex);
        }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.service.management.jmx.instrument.InstrumentedComponent

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.