Paul,
BundleCache has getSystemBundleData() returning File, but this method is
only used for framework customization, so I think you are probably safe
to return null for it.
BundleArchive has one method that returns a File (getDataFile()), which
is required by the OSGi spec, but you are free to return null here.
BundleRevision has a method that returns a File, but that is only used
by subtypes JarRevision and DirectoryRevision, which you could safely
ignore.
-> richard
Paul wrote:
Le Monday 27 October 2008 18:39:34 Karl Pauls, vous avez écrit :
No I can't write on the usb disk itself.
Ok, well, then the only thing left seems to be to have a look at
org/apache/felix/framework/cache/*.java (in the framework subproject)
and try to implement a cache that is in memory. Again, not all bundles
will work without a cache (i.e., file system access) but depending on
your project this might be the way to go. Furthermore, we would be
very interested in this implementation if you get it done :-)
Hello Karl,
I've taken a look at BundleCache, BundleArchive and BundleRevision and several
public methods use File as parameter or return type so I feel that
implementing a full inmemory bundle cache won't be trivial.
I've not yet looked at bundle installation by reference, could you tell me a
little bit more about ?
Best regards,
Paul
---------------------------------------------------------------------
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]