Package org.osgi.jmx.codec

Examples of org.osgi.jmx.codec.OSGiService


    ArrayList<OSGiService> services = new ArrayList<OSGiService>();
    for (Bundle bundle : bc.getBundles()) {
      ServiceReference[] refs = bundle.getRegisteredServices();
      if (refs != null) {
        for (ServiceReference ref : refs) {
          services.add(new OSGiService(ref));
        }
      }
    }
    return OSGiService.tableFrom(services);
  }
View Full Code Here

TOP

Related Classes of org.osgi.jmx.codec.OSGiService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.