On 28 October 2010 16:11, Richard S. Hall <[email protected]> wrote: > On 10/28/10 11:04, Alasdair Nottingham wrote: >> >> On 28 October 2010 16:02, Richard S. Hall<[email protected]> wrote: >>> >>> On 10/28/10 10:32, Alasdair Nottingham wrote: >>>> >>>> Hi, >>>> >>>> I'm sure that asking this question will get me shot, but here goes. >>> >>> Remind me to smack you the next time I see you. ;-) >> >> Phew, I'm not sure when I'll next be at a F2F so I'm safe, you'll have >> forgotten by then. > > I hold a long grudge.
Damn, then I'll have to bring cakes to sweeten you up :) > >>>> I >>>> have a Bundle and I would like to get hold of the ClassLoader that >>>> felix holds for the bundle. >>>> >>>> Is it possible to do this for Felix? >>> >>> No, but coming in R4.3, this will be possible in a standard way. We might >>> implement this feature before R4.3 goes final over the coming months, but >>> it >>> would be done in provisional Felix API... >>> >> I know, I am planning on using it when it comes, I was just hoping for >> something better sooner. > > Well, if you want to resort to reflective hacks, then use > BundleImpl.getCurrentModule().getClassLoader()...of course, the class loader > doesn't actually exist until the module is resolved and someone has loaded a > class from it. I can live with that. > > -> richard > >>> -> richard >>> >>>> Thanks >>>> Alasdair >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Alasdair Nottingham [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

