[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [virgo-dev] Virgo Snaps Question
- From: Ric Klaren <rklaren@xxxxxxxxxxx>
- Date: Thu, 4 Nov 2010 10:29:24 +0100
- Delivered-to: firstname.lastname@example.org
On 3 November 2010 01:09, <pphelan@xxxxxxxx> wrote:
> I was wondering if anyone has used applicationContext.xml within a snap.
> I have been trying to pull in some OSGI services to be autowired to my
> MVC controller in a snap but it doesn't appear to be finding the OSGi
> service when it trys to create the controller.
> Just curious if it is just me or if anyone else has tried this.
Not sure if related, I noticed a bug that for a web bundle two
application contexts exist, one empty and a 'good' one. Depending on
how the context is looked up the snaps might see the wrong one. I did
not get to making a demo project and logging it yet (and make sure
it's not something in our web bundle) so this may be our own doing.
For a web bundle this gives two references in our Wicket glue:
ServiceReference references =
I more or less suspect the issue is in