OSGi Developers,

I just committed some new bundles to:

https://scm.ops4j.org/repos/ops4j/laboratory/bschmaus

These bundles are:

net.tucana.osgi.service.config - Defines
DefaultConfigurationIntitializer service interface.  The purpose of
this service is to provide support for providing bundle configuration
data externally of the bundles that will use the configuration.

net.tucana.osgi.impl.config - Provides implementation of
DefaultConfigurationInitializer.  The impl is a class named
PropertyFileConfigurationInitializer.  This implementation allows
configuration to be supplied for ManagedServices and
ManagedServiceFactories via java props files.  More info in README
file.

net.tucana.osgi.config.examples - Provides example ManagedService and
ManagedServiceFactory. See README file for more.

The README file under the net.tucana.osgi.impl.config bundle has a
good deal of information about configuration issues and
ConfigurationAdmin.

The big functionality these bundles provide is allowing configuration
data to be supplied to bundles from an external source, in this case
regular old java properties files.  I've also considered writing an
implementation that would allow configuration data to be supplied from
a relational DB or perhaps XML files.

There are lots of things to think about with regard to configuration,
but this service has been really useful to the development group that
I'm working in.

LMKIYHAQOC

- Ben

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to