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 methods
can 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
Post a Comment