java - Can you list interface methods in the service registry OSGI -


i have osgi bundles provide services , require services.

if have service implements interface , interface provides variety of methodscan have reference these methods in service registry or somewhere other bundles can aware of these methods.

if service implements interface method on interface implemented service, definition in java. other bundle knows service (and interface) aware of these methods.

if want advertise bundles not know interface, register properties. however, definition accessing methods require reflection. in general not way go in java, nicer stay type safe , use interface anchor.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -