[jboss-user] [JBoss AOP] - Re: ObjectInput
kabir.khan@jboss.com
do-not-reply at jboss.com
Thu Jan 22 17:00:36 EST 2009
interceptor method:
| public Object invoke(Invocation inv) throws Exception
| {
| MethodInvocation mi = (MethodInvocation)inv;
| Object[] args = mi.getArguments();
| args[0] = "Changed"; //Must be of the same type as the original parameter
| mi.setArguments(args);
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204140#4204140
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204140
More information about the jboss-user
mailing list