You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Felix Meschberger <fm...@gmail.com> on 2010/12/14 14:35:32 UTC

Framework Launching changes (was: merging in configadmin launchpad support)

Hi,

Am Dienstag, den 14.12.2010, 07:52 -0500 schrieb Justin Edelson: 
> Hi Felix,
> 
> On Tue, Dec 14, 2010 at 7:01 AM, Felix Meschberger <fm...@gmail.com>wrote:
> 
> > Hi Justin,
> >
> > Agreed. Though I did not yet take a deep look into your provided patch
> > (should do that RSN ... ;-) ).
> >
> > Incidentally, I am also working on the Launchpad Base module (see
> > SLING-1888).
> >
> I couldn't tell if you were actively working on this. Has FindHook support
> been implemented somewhere in Felix or Equinox?

Don't worry, just go ahead with your stuff and I will cope ;-)

No, FindHook is currently just a draft and Felix does not implement it.
It may well be that some trunk state of Eclipse implements it in some
way or the other...

My primary intent actually is to prevent starting the framework into
startlevel 1, checking for system bundle fragments, restart and then
"manually" go to the target start level.

By installing and checking bundles after calling Framework.init we can
either continue starting or stop and re-init and start the framework and
thus have the FRAMEWORK_STARTED event really at the end of the startup.

Regards
Felix

> 
> Justin
> 
> 
> >
> > Regards
> > Felix
> >
> > Am Montag, den 13.12.2010, 23:44 -0500 schrieb Justin Edelson:
> > > As I alluded to in my vote email, I'd like to merge in the changes I have
> > in
> > > a branch which allows for ConfigAdmin files to be loaded from the
> > launchpad
> > > JAR/WAR. I haven't really done anything about this since the summer, but
> > I'm
> > > pretty happy with the solution I came up with (see
> > > http://codereview.appspot.com/1997042/).
> > >
> > > This is, strictly speaking, not backwards compatible for "embedders" of
> > > launchpad, but the only embedder we have is the maven-launchpad-plugin.
> > > Hopefully, once these changes are merged and the next rev of launchpad
> > > released, I can spend some time documenting how launchpad can be embedded
> > in
> > > case anyone wants/needs to do that (although I think the JAR/WAR use
> > cases
> > > cover most people's needs).
> > >
> > > To be clear, for code running inside launchpad, these changes are
> > entirely
> > > backwards compatible - they only impact the code running outside
> > launchpad.
> > > Code running inside launchpad can use the new LaunchpadContentProvider
> > > service to get access to the launchpad archive's contents, but that's
> > > entirely new functionality.
> > >
> > > I'll hopefully have a chance to update the patch and apply it sometime
> > > mid-week, but I wanted to give a heads up because it's probably going to
> > be
> > > a pain to unmerge if someone doesn't like it :)
> > >
> > > Justin
> >
> >
> >