On Jul 15, 2009, at 17:15 , Bram de Kruijff wrote:
DA and start levels are separate concepts. One thing you could do is
to actually provide some kind of "configuration information" that
determines the start levels of the bundles. That configuration
information could then be deployed as part of the same deployment
package and sent to a bundle that translates this information into
instructions for the start level service. We did not implement such a
thing yet, but that should not be hard.
Aha! Thanks for clearing that up :) I guess that should be done using
a Resource Processor of some sort? If I feel lucky later on this week
I'll have a look at this.
You have two options actually:
1) like you say, create a new file type and a resource processor for it
2) create a format that complies with ConfigAdmin and have a bundle
receive that config and convert it into start levels
Greetings, Marcel