Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] aspectj configuration question

Hi,

I am using Aspectj LTW, and below is my aop.xml:
<aspectj>
    <aspects>      
        <aspect name="com.AspectA"/>
        <aspect name="com.AspectB"/>
        <aspect name="com.AspectC"/>
    </aspects>
    <weaver>                          
        <include within="com.servicesA"/>
        <include within="com.servicesB"/> 
        <include within="com.servicesC"/>
    </weaver>   
</aspectj>

Using the above configuration:
1. Will servicesA be woven with all the three aspects (aspectA,B,C)?
2. If Yes, is there any way to configure specific aspect to weave only specific class(es), example: AspectA weaves only servicesA?

Thanks, in advance
- yohan chandra -

Back to the top