本文共 5851 字,大约阅读时间需要 19 分钟。
[OSGI] Felix基本环境搭建及操作 :
Intellij Idea 15中开发Maven+osgi项目(Apache felix环境):
开发一个真实的 OSGi 应用程序:
Springboot Application 集成 OSGI 框架开发:
felix-framework-6.0.1 jack$ java -jar bin/felix.jar ____________________________Welcome to Apache Felix Gogog! lb 00:27:01START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (6.0.1)|6.0.1 1|Active | 1|jansi (1.17.1)|1.17.1 2|Active | 1|JLine Bundle (3.7.0)|3.7.0 3|Active | 1|Apache Felix Bundle Repository (2.0.10)|2.0.10 4|Active | 1|Apache Felix Gogo Command (1.0.2)|1.0.2 5|Active | 1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0 6|Active | 1|Apache Felix Gogo Runtime (1.1.0)|1.1.0g! 00:27:10g! lb 00:28:28START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (6.0.1)|6.0.1 1|Active | 1|jansi (1.17.1)|1.17.1 2|Active | 1|JLine Bundle (3.7.0)|3.7.0 3|Active | 1|Apache Felix Bundle Repository (2.0.10)|2.0.10 4|Active | 1|Apache Felix Gogo Command (1.0.2)|1.0.2 5|Active | 1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0 6|Active | 1|Apache Felix Gogo Runtime (1.1.0)|1.1.0g! lb 00:28:29START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (6.0.1)|6.0.1 1|Active | 1|jansi (1.17.1)|1.17.1 2|Active | 1|JLine Bundle (3.7.0)|3.7.0 3|Active | 1|Apache Felix Bundle Repository (2.0.10)|2.0.10 4|Active | 1|Apache Felix Gogo Command (1.0.2)|1.0.2 5|Active | 1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0 6|Active | 1|Apache Felix Gogo Runtime (1.1.0)|1.1.0g! lb 00:28:30START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (6.0.1)|6.0.1 1|Active | 1|jansi (1.17.1)|1.17.1 2|Active | 1|JLine Bundle (3.7.0)|3.7.0 3|Active | 1|Apache Felix Bundle Repository (2.0.10)|2.0.10 4|Active | 1|Apache Felix Gogo Command (1.0.2)|1.0.2 5|Active | 1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0 6|Active | 1|Apache Felix Gogo Runtime (1.1.0)|1.1.0g! lb 00:28:32START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (6.0.1)|6.0.1 1|Active | 1|jansi (1.17.1)|1.17.1 2|Active | 1|JLine Bundle (3.7.0)|3.7.0 3|Active | 1|Apache Felix Bundle Repository (2.0.10)|2.0.10 4|Active | 1|Apache Felix Gogo Command (1.0.2)|1.0.2 5|Active | 1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0 6|Active | 1|Apache Felix Gogo Runtime (1.1.0)|1.1.0g! 00:28:33g! 00:29:09g! 00:29:09g! install file:/Users/jack/soft/felix-framework-6.0.1/plugins/client-1.0-SNAPSHOT.jar 00:29:10Bundle ID: 7g! install file:/Users/jack/soft/felix-framework-6.0.1/plugins/server-1.0-SNAPSHOT.jar 00:30:28Bundle ID: 8g! lb 00:30:46START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (6.0.1)|6.0.1 1|Active | 1|jansi (1.17.1)|1.17.1 2|Active | 1|JLine Bundle (3.7.0)|3.7.0 3|Active | 1|Apache Felix Bundle Repository (2.0.10)|2.0.10 4|Active | 1|Apache Felix Gogo Command (1.0.2)|1.0.2 5|Active | 1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0 6|Active | 1|Apache Felix Gogo Runtime (1.1.0)|1.1.0 7|Installed | 1|client (1.0.0.SNAPSHOT)|1.0.0.SNAPSHOT 8|Installed | 1|server (1.0.0.SNAPSHOT)|1.0.0.SNAPSHOTg! start 7 00:31:02----------------hello client start---------------------Service:Hello---not exists----------------hello client start---------------------g! start 8 00:31:13----------------hello start-------------------------------------hello start---------------------
转载地址:http://wxiao.baihongyu.com/