[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] Advising all methods that modify transientfields
|
On Mon, 2003-11-10 at 14:27, Frank Sauer wrote:
> I think adding !transient to your set pointcut should do the trick.
> E.g. set(!transient * *.*)
I would actually like to capture all methods in which non-transient
fields are modified for a given storage class. I would like to use
around advice so that may use the join point signature to execute the
method via reflection within a prevayler transaction
I just tossed the stuff in CVS here to try and make it easier to see
exactly what I'm trying to do:
http://cvs.codehaus.org/viewcvs.cgi/outhaus/jvanzyl/aspects/src/main/org/codehaus/top/prevayler/?root=codehaus
I was hoping to generalize within AbstractPersistence.aj and then extend
that to specify the particular storage class I'm dealing with.
> Frank
>
> -----Original Message-----
> From: aspectj-users-admin@xxxxxxxxxxx
> [mailto:aspectj-users-admin@xxxxxxxxxxx] On Behalf Of Jason van Zyl
> Sent: Sunday, November 09, 2003 5:35 PM
> To: aspectj-users@xxxxxxxxxxx
> Subject: Re: [aspectj-users] Advising all methods that modify
> transientfields
>
>
> On Sun, 2003-11-09 at 17:19, Jason van Zyl wrote:
> > Howdy,
> >
> > Is there a way to do this? I'm trying to write a little Aspect to use
> > with Prevayler for transparent object persistence.
>
> Sorry about the typo, that is obviously non-transient fields ...
--
jvz.
Jason van Zyl
jason@xxxxxxxxxxx
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society