public void uninstallModule(NameVersion nameVersion);
+ public void updateModule(NameVersion nameVersion);
+
public void startModule(NameVersion nameVersion);
}
return new OsgiBundle(bundle);
}
+ public void updateModule(NameVersion nameVersion) {
+ Bundle bundle = findBundle(nameVersion);
+ try {
+ bundle.update();
+ } catch (BundleException e) {
+ throw new SlcException("Cannot update " + bundle, e);
+ }
+ }
+
public void uninstallModule(NameVersion nameVersion) {
Bundle bundle = findBundle(nameVersion);
try {