EventAdmin eventAdmin = getEventAdmin();
if (eventAdmin == null) {
return;
}
Dictionary<String, Object> props = createDefaultProperties(bundle, contextPath);
eventAdmin.postEvent(new Event(topic, props));
}
private Dictionary<String, Object> createDefaultProperties(Bundle bundle, String contextPath) {
Dictionary<String, Object> props = new Hashtable<String, Object>();