OSGI class space
osgi
1:service作用是提供了bundles之间的联系和交互
2:Fragment自己没有独立的classloader,它使用宿主bundle的classloader。
3:Each bundle has a single classloader.
The class loader can load classes and resources from:
• Boot class path – The boot class path contains the java.* packages and its
implementation packages.
• Framework class path – The Framework usually has a separate class loader
for the Framework implementation classes as well as key service
interface classes.
• Bundle Space – The bundle space consists of the JAR file that is associated
with the bundle, plus any additional JAR that are closely tied to the
bundle, like fragments, see Fragment Bundles on page 69.
A class space is then all classes reachable from a given bundle’s class loader 类空间是指一个指定的bundle的classloader所有能够访问到的类。
1:service作用是提供了bundles之间的联系和交互
2:Fragment自己没有独立的classloader,它使用宿主bundle的classloader。
3:Each bundle has a single classloader.
The class loader can load classes and resources from:
• Boot class path – The boot class path contains the java.* packages and its
implementation packages.
• Framework class path – The Framework usually has a separate class loader
for the Framework implementation classes as well as key service
interface classes.
• Bundle Space – The bundle space consists of the JAR file that is associated
with the bundle, plus any additional JAR that are closely tied to the
bundle, like fragments, see Fragment Bundles on page 69.
A class space is then all classes reachable from a given bundle’s class loader 类空间是指一个指定的bundle的classloader所有能够访问到的类。
热门话题 · · · · · · ( 去话题广场 )
- 收集秋冬出行碎片291篇内容 · 23.6万次浏览
- 仲代达矢去世1076篇内容 · 8.4万次浏览
- 婚后才明白应该怎样去选择一生的伴侣1.0万+篇内容 · 16.7万次浏览
- 我的精神防寒套装339篇内容 · 29.9万次浏览
- 在这个集体失落的时代,如何大胆走出去?新7篇内容 · 5.8万次浏览
- 暂停打工后,治好了我的精神内耗!952篇内容 · 169.1万次浏览
- J人给P人的亿点小震撼152篇内容 · 87.0万次浏览
- 已经完全失去囤东西的欲望了1.0万+篇内容 · 9798次浏览