Setting up p:reuseCondition-ref
Cantor, Scott
cantor.2 at osu.edu
Tue Nov 23 17:49:21 UTC 2021
A ref in Spring terms is a bean name/ID, not a call to something that returns a bean.
There are a lot of ways to get the indirection you're trying to get here, but there's no reason to do any of that. Spring will create your class. You don't need to do it this way, just make the class an instance of Predicate and have a constructor for it and Spring will call it to create the object.
Basically, read the Spring Framework documentation I guess.
-- Scott
More information about the dev
mailing list