I got a bundle1
具有以下软件包:
com.anderson.servlet.osgi (exported)
com.anderson.servlet
com.anderson.util (exported)
还有第二个,bundle2
,看起来像这样:
com.anderson.jetty
com.anderson.servlet.osgi
我也进口com.anderson.servlet.osgi
from bundle1
.
是否可以将两个包合并bundle2
?
不会。如果您导入一个包,则该包的优先级高于您的捆绑包中可能存在的同名私有包。
为什么不直接重命名bundle2中的私有包呢?
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)