It was some utility in sandbox, but I moved it to SF see http://cglib.sourceforge.net it generates code at runtime (it is trivial library) http://jac.aopsys.com/ transforms code at loadtime (AOP framework). All of ways have limitations, try http://jakarta.apache.org/bcel if you need something special.
> hello list, > > i dunno if this is the right list to post. > > for my project, i have to modify the way a method return hers result. > i have to do it at runtime as that modification can be set, unset at > any unpredictable time. the modification cant be set more than one time > and two modifications can be cummulative (eg for a method returning an > integer that i modify by adding 1 to the result). > > i though about aspects but as far as i understand them, they are > powerful but the code is aspected at compile time. and i don't want to > program out of java. so i search for a project about aspecting methods > at runtime. the aspected methods do not even know that they will be > aspected. > > in advance thank you for your help. > > Rapha�l Pi�roni > (Rennes - France) > > > ===== > ------------------------------------ > | Rapha�l Pi�roni | > | 33+ 223 351 354 | > | mailto:[EMAIL PROTECTED] | > | http://www.dexem.com | > | mailing:[EMAIL PROTECTED] | > ------------------------------------ > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
