File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Application Frameworks
Joined: Mar 31, 2007
Sep 29, 2008 01:29:00
I'm working on Spring and I need to configure a pointcut object which indicate all the getter methods of the target object. I used
But this does not work since GETTERS is a static member of the org.springframework.aop.support.Pointcuts class, instead of being a class.
So, I want to know how can I configure a bean which refer to a static member of a class.
Joined: Feb 05, 2001
Sep 29, 2008 09:44:00
Well not sure how to get everything you need. But the util namespace has a tag for accessing Constant values.
But why aren't you using pointcut expression text like "execution(* get*(..))"?
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: GETTERS Pointcut
why doesnt the compiler warn or check this ?
Doubt in Bean Details display
Spring AOP: How can I create pointcut for middle argument ?
pointcut for method in parent abstract class
Spring AOP, How does this example do it?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014