I would like to use the feature "annotation-introduction" to introduce
annotation in constructors and to capture them in "bind". For example:
|
| <annotation-introduction
expr="constructor(gui.complaints.*->new())">
| @util.SystemRecord
| </annotation-introduction>
|
| <bind pointcut="call(@util.SystemRecord->new(..))">
| <interceptor class="aspects.SystemRecordInterceptor"/>
| </bind>
|
|
But
1 - The form @util.SystemRecord->new (..) to mark the constructors it is not executing,
only the form *->(a)util.SystemRecord (..)
2 - The form *->(a)util.SystemRecord (..) it seems not to be affected by
annotation-introduction
How to make these features to work together?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989542#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...