简体   繁体   English

在 Apache Felix 中与 bundle 交互

[英]Interact with bundle in Apache Felix

I made a program that offers a CLI where you can type a number and calculate the square root of the number typed.我制作了一个提供 CLI 的程序,您可以在其中键入一个数字并计算所键入数字的平方根。 I built a bundle starting from this simple application and installed on Apache Felix.我从这个简单的应用程序开始构建了一个包,并安装在 Apache Felix 上。 The problem is that I can't interact with it (insert a number in the gogo shell) when launched in Felix.问题是在 Felix 中启动时我无法与它交互(在 gogo shell 中插入一个数字)。 Someone has an idea on how to solve this or a work-around to get it works?有人对如何解决这个问题或解决方法有想法吗?

You can create listener on some port.您可以在某个端口上创建侦听器。 Client will interact with your application using telnet.客户端将使用 telnet 与您的应用程序交互。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM