[英]How do i instantiate a spring service in a standalone client
We have a Service as a OSGi bundle deployed on a Virgo server and is running ACTIVE. 我们在Virgo服务器上部署了一项服务即OSGi捆绑包,并且正在运行ACTIVE。 What is the procedure to instantiate it in a Standalone client.
在独立客户端中实例化它的过程是什么。
(Client can be run on the same machine as the server is running) (客户端可以与服务器在同一台计算机上运行)
Thanks. 谢谢。
您应该使用ServiceTracker以获得对已部署服务的引用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.