[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Class visibility without declared dependency
- From: Martin Lippert <lippert@xxxxxxx>
- Date: Fri, 26 Jul 2013 11:42:25 +0200
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
This does, however, not work for packages that are not exported
from the aspect bundle. In fact most of the aspects are never
exported, because they're not meant to be called from source code.
Just a comment on this one:
while re-working the aspectj weaving mechanics in Equinox Weaving a
while ago we discussed this (with the AspectJ team) and came to the
conclusion that aspects should be exported to be woven into other
bundles. Otherwise those aspects are internal to the bundle only and not
woven into other bundles.
I like this design decision because it makes the aspect part of the
public API in case that this aspect affects other bundles. To me it is a
public API of that bundle (not being called directly, but being woven
and therefore being called by those woven classes later).