If you work with hardware you might be interested in the upnp package of the osgi specs:
http://www.osgi.org/javadoc/r4v41/org/osgi/service/upnp/package-summary.html

Apache Felix provides an implementation for the spec:
http://felix.apache.org/site/apache-felix-upnp.html

It describes a generic interface for devices. Each device can list the services and methods it offers and you can call the methods dynamically. The good thing about it is that many devices already provide upnp so you might not even need to code all yourself.

Christian

Am 09.12.2013 13:54, schrieb Snorre Lothar von Gohren Edwin:
Ok I see where you are going with this.
But what if one have a standard api with different hardware types behind,
which have different methods that can be called.
Im having troubles in seeing how this can be done dynamically?



--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to