Hi!

I didn't understand exactly your application.

Is your interceptor receiving a MethodInvocation right?
And the method was supposed to receive, as first parameter, an instance of 
DocumentServiceParameters?
Now, you see on a print that the output is of type DocumentServiceParametrs, as 
expected, but instanceof returns false?
if this is the case, try this:


  | Object arg = ((MethodInvocation) invcoation).getArguments()[0];
  | System.out.println(arg.getClass() + " " + arg.getClass().getClassLoader());
  | System.out.println(DocumentServiceParameters.class + " " + 
DocumentServiceParameters.class.getClassLoader());
  | 

And let me know what you get.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011974#4011974

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011974
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to