[jboss-jira] [JBoss JIRA] Commented: (JBAOP-298) Construction does not work when we have inheritance and generated advisors

Kabir Khan (JIRA) jira-events at jboss.com
Wed Oct 25 08:56:41 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBAOP-298?page=comments#action_12345780 ] 
            
Kabir Khan commented on JBAOP-298:
----------------------------------

In the above example

Child child = new Child(), we only get intercepted once for Parent()

> Construction does not work when we have inheritance and generated advisors
> --------------------------------------------------------------------------
>
>                 Key: JBAOP-298
>                 URL: http://jira.jboss.com/jira/browse/JBAOP-298
>             Project: JBoss AOP
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Kabir Khan
>         Assigned To: Kabir Khan
>             Fix For: 2.0.0.alpha2
>
>
> class Parent{
> }
> class Child extends Parent{
> }
> <bind pointcut="execution(* Parent->new()">
>    <interceptor class="SomeInterceptor">
> </bind>
> <bind pointcut="execution(* Child->new()">
>    <interceptor class="SomeInterceptor">
> </bind>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list