Re: [aspectwerkz-user] how to set RTTI

Alexandre Vasseur <[email protected]> Mon, 27 Jun 2005 16:52:02 +0200
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
Hi

You may search in the doc and list archives for "custom proceed /
custom join point"
The idea is that you need to bind arguments using an args(..)
pointcut, and use an interface that extends JoinPoint to write an
around advice that will call proceed() passing in the new values you
want to set.

See f.e. test case at:
http://cvs.aspectwerkz.codehaus.org/viewrep/aspectwerkz/aspectwerkz4/src/jdk15/test/test/CustomProceedChangeTargetTest.java?r=1.3
line 76.



On 6/27/05, ravi kumar <[email protected]> wrote:
> 
> hi all,
> 
> i am able to get the runtime type information using
> getRtti() method.
> 
> is there any provision to set the RTTI using ant set
> method like setRtti()
> 
> i want to send the parameter of the method using aop
> which is initially has null value.
> 
> thanks in advance
> 
> with regards
> ravi
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Make Yahoo! your home page
> http://www.yahoo.com/r/hs
>