May 03
Jonas keeps plugging away, and the release candidates keep shipping for AspectWerkz.
Even though it is mainly a bug fix release, the team has added some nice features:
- Aspects does not have to extend the Aspect base class anymore, but can be any Java class and extend anything they like
-
The
JoinPoint
class has these two methods:-
getSignature()
- which is used to retrieve the static signature for the join point. -
getRtti()
- which is used to retrieve the RTTI (Runtime Type Information)
about the join point.
Both these methods returns a base interface that could be used, but is usually best to cast to a more fine-grained and specific type.
-
-
Retrieval of information about the system, adding and reading of parameters and metadata etc. is done through the
CrossCuttingInfo
class. An aspect or mixin that is interested in accessing this info should have a constructor that takes aCrossCuttingInfo
instance as its only parameter. - Pluggable aspect container – The possibility to provide your own aspect container implementation is back. Useful if you need to control how your aspects are instantiated for example if you want that to be handled by an IoC container (Spring, PicoContainer etc.))
Read the announcement: AspectWerkz 0.10 RC2 released
October 8th, 2006 at 10:21 am
thank