Package org.eclipse.osgi.service.internal.composite

Examples of org.eclipse.osgi.service.internal.composite.CompositeModule.updateContent()


      surrogateContent = CompositeHelper.getSurrogateInput(thisData.getManifest(), child, matchingExports);
    } catch (IOException e) {
      throw new BundleException("Error updating surrogate bundle.", e); //$NON-NLS-1$
    }
    CompositeModule surrogateComposite = (CompositeModule) getSurrogateBundle();
    surrogateComposite.updateContent(surrogateContent);
    // enable/disable the surrogate composite based on if we have exports handed to us
    boolean disable = matchingExports == null ? true : false;
    CompositeHelper.setDisabled(disable, getSurrogateBundle(), getCompositeFramework().getBundleContext());
    // return true if we can resolve the surrogate bundle
    return disable ? false : surrogateComposite.resolveContent();
View Full Code Here


      surrogateContent = CompositeHelper.getSurrogateInput(thisData.getManifest(), child, matchingExports);
    } catch (IOException e) {
      throw new BundleException("Error updating surrogate bundle.", e); //$NON-NLS-1$
    }
    CompositeModule surrogateComposite = (CompositeModule) getSurrogateBundle();
    surrogateComposite.updateContent(surrogateContent);
    // enable/disable the surrogate composite based on if we have exports handed to us
    boolean disable = matchingExports == null ? true : false;
    CompositeHelper.setDisabled(disable, getSurrogateBundle(), getCompositeFramework().getBundleContext());
    // return true if we can resolve the surrogate bundle
    return disable ? false : surrogateComposite.resolveContent();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.