User Tools

Site Tools


query_all_osgi_services

Query all OSGi Services

Once in a while you may need to query all currently registered services in the OSGi container. This can be achieved by using the BundleContext class.

ServiceReference<?>[] references = bundleContext.getAllServiceReferences(null, null);
query_all_osgi_services.txt · Last modified: 2015/05/07 14:47 by mihael