我找到了关于Felix缓存的主题。
Disabling Cache in Apache Felix
您能给我举几个例子,因为我找不到configurationProperties,所以我可以使用下面的代码。
configurationProperties.setProperty(Constants.FRAMEWORK_STORAGE_CLEAN, Constants.FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT);发布于 2015-09-16 06:36:03
您可以使用此页面中的代码:How to start and use Apache Felix from code?
在这段代码中,configurationProperties是名称,只是映射。
Map<String, Object> map = new HashMap<String, Object>();
map.put(Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA,
"some.module.i.dont.know; version=1.0.0");你可以设置你的财产:
map.setProperty(Constants.FRAMEWORK_STORAGE_CLEAN, Constants.FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT);https://stackoverflow.com/questions/25253021
复制相似问题