@Override public Object invoke(Object proxy,Method method,Object[] args) throws Throwable {
  if (isCorrectMethod(method,args)) {
    boolean handled=callTarget(args[0]);
    setApplicationEventHandled(args[0],handled);
  }
  return null;
}

@ Override public Object invoke ( Object proxy , Method method , Object [ ] args ) throws Throwable { if ( isCorrectMethod ( method , args ) ) { boolean handled = callTarget ( args [ 0 ] ) ; setApplicationEventHandled ( args [ 0 ] , handled ) ; } return null ; }
invocationhandler implementation . this is the entry point for our proxy object ; it is called every time an applicationlistener method is invoked .
