Search in sources :

Example 1 with ObrMBeanImpl

use of org.apache.karaf.obr.core.internal.ObrMBeanImpl in project karaf by apache.

the class Activator method doStart.

@Override
protected void doStart() throws Exception {
    RepositoryAdmin admin = getTrackedService(RepositoryAdmin.class);
    ObrMBeanImpl mbean = new ObrMBeanImpl(bundleContext, admin);
    registerMBean(mbean, "type=obr");
}
Also used : RepositoryAdmin(org.apache.felix.bundlerepository.RepositoryAdmin) ObrMBeanImpl(org.apache.karaf.obr.core.internal.ObrMBeanImpl)

Aggregations

RepositoryAdmin (org.apache.felix.bundlerepository.RepositoryAdmin)1 ObrMBeanImpl (org.apache.karaf.obr.core.internal.ObrMBeanImpl)1