Package org.jboss.fresh.events

Examples of org.jboss.fresh.events.InvalidFormatException


  // This method is part of dead-end idea how ECs will be grouped together
  // we'll remove it
  public synchronized void registerEventCentral(EventCentral ec, String lisid, EventListener lis) throws InvalidFormatException {
    // get app part
    int start = lisid.indexOf("/");
    if(start==-1) throw new InvalidFormatException(lisid);

    String host = lisid.substring(0, start);

    int end = lisid.indexOf("/", start+1);
    if(end==-1) throw new InvalidFormatException(lisid);

    String app = lisid.substring(start+1, end);

    centrals.put(app, lis);
View Full Code Here

TOP

Related Classes of org.jboss.fresh.events.InvalidFormatException

Copyright © 2018 www.massapicom. 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.