- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想弄清楚 org.osgi.framework.storage.clean=onFirstInit
真正意味着在 Felix 框架的上下文中。
根据 OSGi 规范:
org.osgi.framework.storage: A valid file path in the file system to a directory... The framework is free to use this directory as it sees fit, for example, completely erase all files and directories in it...
org.osgi.framework.storage.clean: Specifies if and when the storage area for the framework should be cleaned. If no value is specified, the framework storage area will not be cleaned.
onFirstInit flushes the bundle cache when the framework instance is first initialized.
rm -rf felix-cache
相同当 Felix 容器关闭时,它会在启动时重建缓存,就好像这是第一次启动容器一样? 最佳答案
What does it mean to "flush the bundle cache"?
Is flushing the same as deleting the storage directory and then rebuilding it from scratch?
So it would be the same as rm -rf felix-cache while the Felix container is shut down so that when it starts up it rebuilds the cache as if this was the first time the container was started?
What does it mean when it says "when the framework instance is first initialized"?
Does this mean the first time the framework is initialized only on the first time the container is started? Or does it mean the first time the framework is initialized every time the container is restarted?
关于osgi - org.osgi.framework.storage.clean=onFirstInit 在 Apache Felix OSGi 实现的上下文中是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26304588/
我想弄清楚 org.osgi.framework.storage.clean=onFirstInit真正意味着在 Felix 框架的上下文中。 根据 OSGi 规范: org.osgi.framewo
我是一名优秀的程序员,十分优秀!