public Object wdInvokeEventHandler(String handlerName, IWDCustomEvent event) throws NoSuchMethodException { logger.pathT("entering: wdInvokeEventHandler", new Object[] {handlerName}); try { if ("onPlugDefault".equals(handlerName)) { delegate.onPlugDefault(event); return null; } throw new NoSuchMethodException( "Eventhandler " + handlerName + " not found for event " + event.getName()); } finally { logger.pathT("exiting: wdInvokeEventHandler"); } }
public void onPlugDefault(IWDCustomEvent wdEvent) { delegate.onPlugDefault(wdEvent); }