2008/11/26 Fredrik Alströmer <[EMAIL PROTECTED]>

> On a similar note, is there a way to access the actual bundle file?
> Like for running an external javac-process (think tomcat jasper),
> which needs a classpath.
>

no - but I guess you could either use ClassLoader.getResource()
or the Bundle resource APIs to grab the classfiles from the bundle
and then stuff them into a URLClassLoader

that might work...


> On Mon, Nov 24, 2008 at 18:15, BJ Hargrave <[EMAIL PROTECTED]> wrote:
> > PackageAdmin.getBundle(Class)
> > --
> >
> > BJ Hargrave
> > Senior Technical Staff Member, IBM
> > OSGi Fellow and CTO of the OSGi Alliance
> > [EMAIL PROTECTED]
> > office: +1 386 848 1781
> > mobile: +1 386 848 3788
> >
> >
> > From:
> > Oleg Zhurakousky <[EMAIL PROTECTED]>
> > To: Equinox development mailing list <[email protected]>
> > Date: 2008/11/24 12:04
> > Subject: [equinox-dev] What bundle class loaded from
> > Sent by: [EMAIL PROTECTED]
> > ________________________________
> >
> >
> > I know how to do it the "hard way", but was wondering if there is and
> > elegant way to determine which Bundle loaded a class?
> > Thanks
> > Oleg
> > _______________________________________________
> > equinox-dev mailing list
> > [email protected]
> > https://dev.eclipse.org/mailman/listinfo/equinox-dev
> >
> >
> > _______________________________________________
> > equinox-dev mailing list
> > [email protected]
> > https://dev.eclipse.org/mailman/listinfo/equinox-dev
> >
> >
> _______________________________________________
> equinox-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>



-- 
Cheers, Stuart
_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to