It depends on the configuration admin. Karaf uses etc directory for these
configurations - eg. If you persistence id is set to com.mycompany any
changes in $KARAF_BASE/etc/com.mycompany.cfg will be visible for your
components. It doesn't look classpath, it looks into etc directory. That's
better than classpath because operations can do changes without JAR
modification. Even more fantastic is fact that your component can be
notified about configuration change..


Best regards,
Lukasz


-----Original Message-----
From: Mike Van [mailto:[email protected]] 
Sent: Thursday, December 09, 2010 9:42 PM
To: [email protected]
Subject: RE: Placing properties files in the classpath


In those cases, where does OSGi look to find the properties? And, what are
the property file names?

Mike Van
-- 
View this message in context:
http://karaf.922171.n3.nabble.com/Placing-properties-files-in-the-classpath-
tp2054553p2060007.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to