[aspectwerkz-user] 2.0 Final and custom JoinPoint
"Philippe de M. Sevestre" <[email protected]> Fri, 02 Feb 2007 10:47:21 -0200
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I've just downloded aw 2.0 final in order to evaluate it for a
WebLogic-based project.
I've managed to create a simple test project using XML-based definitions
and was able to run some very basic tests - just a "Hello from Aspect".
The next step for me is to implement a aspect that will pre-process SQL
queries sent to a JDBC driver. My first (naive) try was to simply use
getRtti(), casted to MethodRtii and modify the array returned from
getParameterValues(). No success. It seems that this array is "read-only".
So, after some googling, I've found a test case on CVS that seems to do
exactly what I need (CustomProceedChangeTargetTest.testChangeArg).
I've managed to make it work under JDK 5, but this test fails under
jrockit81.
So, my question is: Is there support for this kind of aspect under
Jrockit81 (or any other 1.4 VM) ?
thks,
Philippe.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email