private static Log log = LogFactory.getLog(AnnouncementUIComponent.class);
protected void activate(ComponentContext context) {
try {
BundleContext bundleContext = context.getBundleContext();
bundleContext.registerService(UIAnnouncement.class.getName(), new UIAnnouncementImpl(), null);
log.debug("******* Announcement UI bundle is activated ******* ");
} catch (Exception e) {
log.error("******* Announcement UI bundle failed activating ****", e);
}
}