Maybe you have more luck with the solution proposed by Guillaume, use the cm:property-placeholder. That is also a way of doing, even though I never did it for managed properties.
> "All your properties must be available via a getter and setter". > > A problem arises when properties use dot-notation like what Hibernate, and > multitudes of other properties do. Unfortunately, dots are not valid > characters for either Java methods or attributes. As such, it is not > possible to create a simple bean which has getters and setters for > attributes like "hibernate.format_sql", as an example. > > I can see this being an issue for more than just Hibernate, it would be an > issue for any bean whose constructor receives a Properties object argument > where the properties use property names like "this.that". > > When using Managed Properties on a bean whose constructor receives > Properties object as an argument with properties using dot-notation, how > does OSGi handle this? Is there an accepted best-practice? > > > > ----- > Karafman > Slayer of the JEE > Pounder of the Perl Programmer >
