开发者

How do i instantiate a spring service in a standalone client

开发者 https://www.devze.com 2023-02-11 09:09 出处:网络
We have a Service as a OSGi bundle deployed on a Virgo server and is running ACTIVE. What is the procedure to instantiate it in a Standalone client.

We have a Service as a OSGi bundle deployed on a Virgo server and is running ACTIVE. What is the procedure to instantiate it in a Standalone client.

(Client can be run on t开发者_开发技巧he same machine as the server is running)

Thanks.


You should use ServiceTracker in order to get reference to the service you have deployed.

0

精彩评论

暂无评论...
验证码 换一张
取 消