Esempio n. 1
0
 private Dispatcher createDefaultDispatcher() {
   Dispatcher d = null;
   try {
     Class<?> clazz =
         Class.forName(
             _config.getConfig(ConfigConstants.CONTEXT_DISPATCHER, DefDispatcher.class.getName()));
     d =
         (Dispatcher)
             clazz
                 .getConstructor(String.class)
                 .newInstance(
                     _config.getConfig(
                         ConfigConstants.CONTEXT_DISPATCHER_ID, "PluginContextDispatcher"));
   } catch (Exception e) {
     _LOG.error(e.getMessage());
     d = DefDispatcher.newDispatcher("PluginContextDispatcher");
   }
   return d;
 }
Esempio n. 2
0
 public void signal(Signal sig) {
   _config.getFrame().broadcast(sig);
 }