Package org.objectweb.celtix.bus.instrumentation

Examples of org.objectweb.celtix.bus.instrumentation.InstrumentationPolicyType


    private ComponentEventFilter componentEventFilter;
    private boolean instrumentationEnabled;
    private boolean jmxEnabled;
   
    public InstrumentationManagerImpl(Bus b) throws BusException {
        InstrumentationPolicyType instrumentation = null;
        MBServerPolicyType mbserver = null;
       
        bus = b;
       
        Configuration itConfiguration = getConfiguration(bus.getConfiguration());
       
        instrumentation = (InstrumentationPolicyType)
                itConfiguration.getObject("InstrumentationControl");
       
        if (instrumentation == null) {           
            instrumentation = new InstrumentationPolicyType();
        }
       
        mbserver = (MBServerPolicyType)
            itConfiguration.getObject("MBServer");
       
        if (mbserver == null) {
            mbserver = new MBServerPolicyType();           
        }
              
        instrumentationEnabled = instrumentation.isInstrumentationEnabled();
        jmxEnabled = instrumentation.isJMXEnabled();      
       
        if (LOG.isLoggable(Level.INFO)) {
            LOG.info("Setting up InstrumentationManager for BUS");
        }   
       
View Full Code Here

TOP

Related Classes of org.objectweb.celtix.bus.instrumentation.InstrumentationPolicyType

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.