Re: Loading bundles from inside jars, and read-only filesystems
On Mon, Aug 8, 2016 at 2:40 PM, wrote: > On 2016-08-08T14:31:07 -0400 > Benson Margulies wrote: > > > > I believe that all OSGi containers can load bundles from InputStreams, > > which is all you would need. > > Ah, OK. > > That should be fairly easy, then. > > > > Is it a question of "someone needs to implement the right services" or > > > is it something more fundamental than that? > > > > It's moderately fundamental. There's a JIRA for it. > > This one? > > https://issues.apache.org/jira/browse/FELIX-465 https://issues.apache.org/jira/browse/FELIX-4885 > > > It hadn't occurred to me that an in-memory cache would preclude native > libraries. Perhaps I'll have to do without that one... > > Thanks! > > M >
Re: Loading bundles from inside jars, and read-only filesystems
On 2016-08-08T14:31:07 -0400 Benson Margulies wrote: > > I believe that all OSGi containers can load bundles from InputStreams, > which is all you would need. Ah, OK. That should be fairly easy, then. > > Is it a question of "someone needs to implement the right services" or > > is it something more fundamental than that? > > It's moderately fundamental. There's a JIRA for it. This one? https://issues.apache.org/jira/browse/FELIX-465 It hadn't occurred to me that an in-memory cache would preclude native libraries. Perhaps I'll have to do without that one... Thanks! M pgpryu1PsYXsH.pgp Description: OpenPGP digital signature
Re: Loading bundles from inside jars, and read-only filesystems
On Mon, Aug 8, 2016 at 2:19 PM, wrote: > On 2016-08-08T14:10:38 -0400 > Benson Margulies wrote: > > On Mon, Aug 8, 2016 at 2:08 PM, wrote: > > > > > > > > > 1. Is Felix able to load bundles from inside a jar? > I believe that all OSGi containers can load bundles from InputStreams, which is all you would need. > > > > > > 2. Is Felix able to run on entirely read-only filesystems? > > > > No. Equinox can, but Felix cannot. > > Is it a question of "someone needs to implement the right services" or > is it something more fundamental than that? > It's moderately fundamental. There's a JIRA for it. > > M >
Re: Loading bundles from inside jars, and read-only filesystems
On 2016-08-08T14:10:38 -0400 Benson Margulies wrote: > On Mon, Aug 8, 2016 at 2:08 PM, wrote: > > > > > > 1. Is Felix able to load bundles from inside a jar? > > > > 2. Is Felix able to run on entirely read-only filesystems? > > No. Equinox can, but Felix cannot. Is it a question of "someone needs to implement the right services" or is it something more fundamental than that? M pgpR_1g8caCpS.pgp Description: OpenPGP digital signature
Re: Loading bundles from inside jars, and read-only filesystems
On Mon, Aug 8, 2016 at 2:08 PM, wrote: > Hello. > > Two quick questions: > > 1. Is Felix able to load bundles from inside a jar? Specifically: I > would like to be able to embed Felix into a single-jar application > by putting my Main class and Felix classes into a single jar along with > the individual bundle jars. > > 2. Is Felix able to run on entirely read-only filesystems? I notice > that the OSGi framework mandates caching, but it doesn't say that the > cache has to be on the filesystem. Is there perhaps an in-memory cache > implementation available? > No. Equinox can, but Felix cannot. > > Thanks, > M >
Loading bundles from inside jars, and read-only filesystems
Hello. Two quick questions: 1. Is Felix able to load bundles from inside a jar? Specifically: I would like to be able to embed Felix into a single-jar application by putting my Main class and Felix classes into a single jar along with the individual bundle jars. 2. Is Felix able to run on entirely read-only filesystems? I notice that the OSGi framework mandates caching, but it doesn't say that the cache has to be on the filesystem. Is there perhaps an in-memory cache implementation available? Thanks, M pgpTk_vSwuru2.pgp Description: OpenPGP digital signature