What is a correct way of implementing CLI for Eclipse Equinox Application? How to get any user console input from inside of Equinox-OSGi component to handle it according to application's business logic? Is there a library that already has the described functionality implemented?
You can add custom osgi-console commands in Eclipse really easily, and this tutorial's Extending the console section tells in details how to do that.