[jboss-user] [JBoss AOP] - Re: java.lang.ClassCastException
vbatista
do-not-reply at jboss.com
Tue Mar 25 13:09:43 EDT 2008
Hi Flavia,
Thanks for your prompt reply. I made the change you suggested and now it is working fine. My method now looks like:
| public Object get(Invocation invocation) {
| if(invocation instanceof FieldReadInvocation) {
| return _get(((FieldReadInvocation)invocation));
| }
| return null;
| }
|
where _get is my previous method:
| private Object _get(FieldReadInvocation invocation) ...
|
I am using AOP which comes bundled with JBoss-4.2.2.
Thanks.
Best regards,
Victor
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138784#4138784
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138784
More information about the jboss-user
mailing list