"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 -- View this message in context: http://karaf.922171.n3.nabble.com/Managed-Properties-question-tp2107407p2122344.html Sent from the Karaf - User mailing list archive at Nabble.com.
