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; }
public void signal(Signal sig) { _config.getFrame().broadcast(sig); }