Search in sources :

Example 6 with AdapterManager

use of com.adaptris.core.runtime.AdapterManager in project interlok by adaptris.

the class MessageNotificationCase method createJmxManagers.

protected List<BaseComponentMBean> createJmxManagers(Adapter adapter) throws Exception {
    List<BaseComponentMBean> result = new ArrayList<BaseComponentMBean>();
    AdapterManager am = new AdapterManager(adapter);
    result.add(am);
    result.addAll(am.getAllDescendants());
    return result;
}
Also used : BaseComponentMBean(com.adaptris.core.runtime.BaseComponentMBean) AdapterManager(com.adaptris.core.runtime.AdapterManager) ArrayList(java.util.ArrayList)

Aggregations

AdapterManager (com.adaptris.core.runtime.AdapterManager)6 Test (org.junit.Test)4 Adapter (com.adaptris.core.Adapter)3 BaseComponentMBean (com.adaptris.core.runtime.BaseComponentMBean)3 ArrayList (java.util.ArrayList)2 Channel (com.adaptris.core.Channel)1 StandardWorkflow (com.adaptris.core.StandardWorkflow)1 ChildRuntimeInfoComponent (com.adaptris.core.runtime.ChildRuntimeInfoComponent)1 GuidGenerator (com.adaptris.util.GuidGenerator)1 MBeanServer (javax.management.MBeanServer)1