Hello everyone,
I have a bundle with an associated .cfg file containing a boolean property : enable.authentication=true
Is it possible to use the inverse value of this property in order to configure a given property of a bean ?
Something like :
<property name="ignoreActions" value="not(${enable.authentication})" />
This would prevent me from having 2 properties instead of one in my config file.
???
Thanks
Regards
Vincent
Do you mean in Spring beans configuration? With Spring Expression Language there is possiblity to do so : http://static.springsource.org/spring/docs/3.0.5.RELEASE/reference/expressions.html