Oh, forget that.
Cast to AbstractOsgiBundleApplicationContext and call getBundle() :)

Jim

From: Jim Talbut [mailto:[email protected]]
Sent: 12 July 2012 16:31
To: [email protected]
Subject: Bundle from ApplicationContext

Hi,

If I have an ApplicationContext object that was originally created by 
FileInstall of a Spring file is there any way to identify the bundle assigned 
to it?
I can't go via the ApplicationContext ClassLoader because that's in Spring's 
bundle.

Thanks

Jim

Reply via email to