Hi Guillaume, I've got some code which I'm close to checking in which hooks up Felix fileinstall to an Aries application - so I have install working. There were a few issues I found on the way, one of which I need to open a JIRA against blueprint for. I'll check what I have in later and we can discuss some more.
Cheers, Jeremy On 12 February 2010 17:20, Guillaume Nodet <[email protected]> wrote: > It has been a long time since I wanted to have a closer look at the > application model in Aries, so I've tried to install the application > support bundles in Karaf and install the sample applications. > It doesn't really work, so I'd like to start fixing things a bit. > > The following method of AriesApplicationManager interface is supposed > to install the bundles for the application: > ApplicationContext install(AriesApplication app); > The counterpart for uninstalling the application is > void uninstall(ApplicationContext app); > > The first point is that the implementation does not actually install > the bundles. So i was going to fix that, but I wonder about the > state of the application. > My understanding is that the state of the application is an aggregate > of its constituents states, so that the application is RESOLVED if all > bundles are at least RESOLVED. > What if a bundle has been uninstalled ? Do we force to uninstall / > reinstall the application ? > In order to be more consistent with OSGI bundles, we could also: > * keep the install on AriesApplicationManager > * move the uninstall on ApplicationContext > * add an update method on ApplicationContext > > Thoughts ? Comments ? > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com >
