public void startBundle(long bundleId) throws Exception { frameworkMBean.startBundle(bundleId); }
@Override public void startBundle(long bundleId) throws IOException { if (log.isTraceEnabled()) log.trace("startBundle: " + bundleId); getFrameworkMBean().startBundle(bundleId); }
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; }
@Override protected void startInternal() throws BundleException { assertNotUninstalled(); try { getRuntime().getFrameworkMBean().startBundle(bundleId); } catch (IOException ex) { Throwable cause = ex.getCause(); if (cause instanceof BundleException) throw (BundleException)cause; throw new BundleException("Cannot start bundle: " + this, ex); } }
try { FrameworkMBean frameworkMBean = getFrameworkMBean(mbsc); frameworkMBean.startBundle(bundleId); consoleReader.printString(DeployUtils.reformat("Started bundle: " + bundleId, 4, 72)); } catch (Exception e) {