コード例 #1
0
  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");
    }
  }
コード例 #2
0
 public void onPlugDefault(IWDCustomEvent wdEvent) {
   delegate.onPlugDefault(wdEvent);
 }