Package org.jboss.fresh.events

Examples of org.jboss.fresh.events.RegistrationException


  }


  public synchronized void registerEventNetRouter(String agentid, EventNetRouter router) throws RegistrationException {
    EventNetRouter rt = (EventNetRouter) routers.get(agentid);
    if(rt != null) throw new RegistrationException("Router is already registered under the specified agentid: " + agentid + " (Either you should reuse existing one or there are more agents with same agentid - which should never be - which means wrong configuration.)");

    routers.put(agentid, router);
  }
View Full Code Here

TOP

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

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.