|
|
May 2004
Next week the JavaOne committe will announce the final schedule for JavaOne 2004 at San Francisco.
In the meantime, you can prepare your agenda, and have a look at our
- technical session TS-1391 Dynamic Aspect-Oriented Programming in Java™ 2 Platform, Enterprise Edition (J2EE™) Platform Environments
- BOF-1392 Dynamic Aspect-Oriented Programming with AspectWerkz
.
In case you miss it, drop a message at the BEA booth and we will try to answer as much question as we can.
Don't miss the AOP panel discussion, as well as AspectJ' Ramnivas session on Metadata driven AOP.
Read more about our sessions.
Read more about JavaOne 2004.
AOP related session at JavaOne 2004 (follow this link and search for "aspect").
[
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.
|