Our project (Cytoscape) is built using Apache Karaf 3.0.2 with the standard
Felix framework. In our project, we are using Felix FileInstall to load
bundles that are installed by the end user and stored in a predefined path.
In addition to allowing apps to be installed by copying them to the
directory, we also offer our own UI for app installation, which will copy or
remove bundles to/from this directory as appropriate.

Anyway, when using FileInstall, is there a way to determine when all the
bundles in the installed directory (or at least all the bundles that exist
at the time the directory is first polled) have been loaded? We want to be
able to have startup scripts that can depend on apps installed via
FileInstall, and to do this we need to be able to trigger code in a bundle
once the initial set of FileInstall bundles have been loaded. 

So far, I haven't been able to find a configuration option or  API for to do
this with FileInstall - I've tried setting
felix.fileinstall.start.level/active.level to a lower value, but it seems
like the bundles still don't finish loading until after all system bundles.



--
View this message in context: 
http://apache-felix.18485.x6.nabble.com/Felix-FileInstall-how-to-determine-when-all-bundles-are-started-tp5010757.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to