Using AOP on generated getters

Hi all,

I am using an AOP advice in one of my applications.
The advice should run a function before every getter that is being called.
The functions that AOP calls runs fine on ‘hardcoded’ getters. But on generated getters, the function is not being called. Is there a way around this?

Kind regards,

Erik-Jan

Generated getters, you mean implicit accessors?

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Yes, that the one. I have ‘accessors = true’ in my Beans, and I want to add some function to all getters…

Hmm yea not sure if that works now as maybe I cannot remove them and stash them. Would need to investigate