}
}
@SuppressWarnings("unchecked")
public void fireEvent(Object source, String id, String event, Object... data) {
ConfigMap handlers = (ConfigMap) configService.getConfig("core.binding");
Event eventData = new Event(source, data);
if (handlers.containsKey(id)) {
Map map = (Map) handlers.get(id);
if (map.containsKey(event)) {
invoke((String) map.get(event), eventData);
}
}