Search in sources :

Example 1 with KieContainerMonitor

use of org.drools.compiler.management.KieContainerMonitor in project drools by kiegroup.

the class KieContainerImpl method initMBeans.

private void initMBeans(String containerId) {
    if (isMBeanOptionEnabled()) {
        KieContainerMonitor monitor = new KieContainerMonitor(this);
        ObjectName on = DroolsManagementAgent.createObjectNameBy(containerId);
        DroolsManagementAgent.getInstance().registerMBean(this, monitor, on);
    }
}
Also used : KieContainerMonitor(org.drools.compiler.management.KieContainerMonitor) ObjectName(javax.management.ObjectName)

Aggregations

ObjectName (javax.management.ObjectName)1 KieContainerMonitor (org.drools.compiler.management.KieContainerMonitor)1