PengZheng commented on PR #441:
URL: https://github.com/apache/celix/pull/441#issuecomment-1242011014

   > think the challenge is more in how to decide if a bundle does not need to 
be extracted, because it is already in the cache.
   
   .zip is just like .deb package: once installed into our global cache, the 
zip file is of no use and can be safely removed from the system.  Each 
framework instance has its own private bundle cache, which does nothing but 
does bookkeeping like which bundle installed for this framework instance. When 
`celix_bundleContext_installBundle` is invoked, it just install in the private 
cache a reference to the real bundle directory in the global cache. Before a 
bundle can be installed into a framework instance's private cache, it must be 
first installed into the global cache via a separate tool like `dkpg` or a new 
Celix API `celix_system_installBundle`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to