use of org.wso2.carbon.apimgt.solace.notifiers.SolaceSubscriptionsNotifier in project carbon-apimgt by wso2.
the class SolaceManagerComponent method activate.
@Activate
protected void activate(ComponentContext componentContext) throws Exception {
if (log.isDebugEnabled()) {
log.debug("Activating SolaceManager component");
}
BundleContext bundleContext = componentContext.getBundleContext();
// Registering Notifiers
bundleContext.registerService(Notifier.class.getName(), new SolaceSubscriptionsNotifier(), null);
bundleContext.registerService(Notifier.class.getName(), new SolaceApplicationNotifier(), null);
bundleContext.registerService(Notifier.class.getName(), new SolaceKeyGenNotifier(), null);
if (log.isDebugEnabled()) {
log.debug("SolaceManager component activated");
}
}
Aggregations