|
|
[]
AspectWerkz 0.10 RC2 released
[
jonas
]
12:07, Monday, 3 May 2004
AspectWerkz 0.10 RC2 has been released.
You can download it from here
This release is mainly a bug-fix release, but we have added some new functionality
(and changed some APIs) as well:
-
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 a
CrossCuttingInfo
instance as its only parameter.
See the docs for details.
-
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.))
Enjoy.
I am glad to hear that :-)
What did you like the most?
/Jonas
Hi,
is there a tutorial somewhere on using the true dynamic weaving capabilities that were introduced with 0.10.RC1?
Regards,
Michael
|