Package org.jboss.aophelper.annotation

Examples of org.jboss.aophelper.annotation.Undoable.callback()


   public Object invoke(Invocation invocation) throws Throwable
   {
      MethodInvocation mi = (MethodInvocation) invocation;
      Undoable undoable = (Undoable) invocation.resolveAnnotation(org.jboss.aophelper.annotation.Undoable.class);
      System.out.println("callback: "+undoable.callback());
     
      System.out.println("Class: "+mi.getTargetObject().getClass().getName());
      System.out.println("Method: "+mi.getMethod().getName());
     
      Object[] args = mi.getArguments();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.