Hello, 
I run your exemple dynamic-aop under eclipse and it works well. Then I had 
modified the name of the class "POJO" to "Hello" (also I updated references and 
in the jboss-aop.xml file) but it doesn't work and it displays the following 
error for "Advised advised = (Advised)pojo;".
anonymous wrote : --- new POJO(); ---
  | in empty constructor
  | --- adding instance interceptors ---Exception in thread "main" 
java.lang.ClassCastException: HelloWorld
  |     at Driver.execute(Driver.java:43)
  |     at Driver.main(Driver.java:32)
  | 
Thank you.

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

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

Reply via email to