Package org.jibeframework.core.app.config

Examples of org.jibeframework.core.app.config.ConfigMap.containsKey()


  @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);
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.