The work-around seems to be:
| public void install(ControllerContext ctx){
| Object target = ctx.getTarget();
|
| // AOP proxy hides the annotations of a class ...
| try {
| target = target.getClass().getMethod("getDelegate").invoke(target);
| } catch (Exception e) {
| throw new RuntimeException(e);
| }
|
| ...
|
But it would be much better if I didn't have to do this. I'm guessing there's
some limitation with the proxy system to generate class information with annotated
methods.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068376#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...