I see, so the classes that make up your interfaces array are not from the Bundle you're interested in.
This some kind of buddy-loading magic you're doing? :) Cheers, Chris On 28 October 2010 16:27, Alasdair Nottingham <[email protected]> wrote: > Proxy.newProxyInstance(bundle, interfaces) just doesn't work for some > reason :) > > Alasdair > > On 28 October 2010 16:07, Christopher Brind <[email protected]> wrote: > > Hi Alasdair, > > > > Just curious, but I have to ask why? > > > > What does ClassLoader have that Bundle doesn't (that you need)? :) > > > > Cheers, > > Chris > > > > > > On 28 October 2010 16:04, Alasdair Nottingham <[email protected]> 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 > >> >> 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. > >> > >> > -> richard > >> > > >> >> Thanks > >> >> Alasdair > >> >> > >> > > >> > --------------------------------------------------------------------- > >> > 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] > >> > >> > > > > > > -- > Alasdair Nottingham > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

