How to deploy multiple processes(bundles) in 1 jar onto OSGI felix

拟墨画扇 提交于 2021-02-08 08:51:22

问题


I'm quite new to OSGI framework so I do not how to deploy multiple processes(bundles) in 1 jar onto it. Particularly, I have installed the Apache Felix With Web Console following this link. I have also tried to deploy my jar file and started it as the bundle. The jar's purpose is like a job to process some activities.

However, I would like to have multiple jobs in just 1 jar file so that when I deploy that jar on Felix the framework can identifies and presents them as individual parts.

For example, I want to have 3 jobs(A,B,C) in my jar and when I deploy that jar onto Felix, maybe the Web Console still define the jar as 1 bundle but it could present both job A, job B and Job C and I can do some bundle function on them like update/start/stop/...

来源:https://stackoverflow.com/questions/60724443/how-to-deploy-multiple-processesbundles-in-1-jar-onto-osgi-felix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!