User development, A new message was posted in the thread "Help: Error [Instrumentor] AOP Instrumentor failed":
http://community.jboss.org/message/524220#524220 Author : Kabir Khan Profile : http://community.jboss.org/people/[email protected] Message: -------------------------------------------------------------- public Object invoke(MethodInvocation inv) throws Throwable{ Object[] args = inv.getArguments(); args[2] = "Replaced"; return inv.invokeNext(); } If the advice is used for several methods, you'd obviously need to do some checking of the types and numbers of paramters, but I've given you the general idea. -------------------------------------------------------------- To reply to this message visit the message page: http://community.jboss.org/message/524220#524220
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
