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");
}