@Override public long installBundle(String location) throws IOException { long result = getFrameworkMBean().installBundle(location); if (log.isTraceEnabled()) log.trace("installBundle [location=" + location + "] => " + result); return result; }
public long startBundle(FrameworkMBean osgiFrameworkProxy, String bundleName) throws Exception { echo("\n>>> Perform startBundle on Framework MBean <<<"); long bundleNumber = osgiFrameworkProxy.installBundle(bundleName); osgiFrameworkProxy.startBundle(bundleNumber); return bundleNumber; }