Example #1
0
 public void uninstall(Set<URI> uris) {
   m_bundles.uninstallBundles(uris);
 }
Example #2
0
 public void uninstall(URI bundleURI) {
   m_bundles.uninstallBundle(bundleURI);
 }
Example #3
0
 public void unload(URI bundleURI) {
   m_bundles.stopBundle(bundleURI);
 }
Example #4
0
 public void unload(Set<URI> uris) {
   m_bundles.stopBundles(uris);
 }
Example #5
0
 /**
  * Gets the service from the given bundle jar uri. Loads and starts the bundle if it isn't yet
  * loaded
  *
  * @param bundleURI bundle jar URI
  * @param svcClazz the service class exposed by the bundle jar
  * @return a reference to an instance of the service class
  */
 public <T> T getService(URI bundleURI, Class<T> svcClazz) {
   return m_bundles.getService(bundleURI, svcClazz);
 }