Package org.apache.aries.application.resolver.obr.impl

Examples of org.apache.aries.application.resolver.obr.impl.OBRCapability


  public BundleResource (ModelledResource mb, RepositoryAdmin repositoryAdmin) {
    logger.debug(LOG_ENTRY,"BundleResource", mb);
    _modelledBundle = mb;
   
    _capabilities = new ArrayList<Capability>();
    _capabilities.add(new OBRCapability(_modelledBundle.getExportedBundle(), repositoryAdmin));

    for (ExportedPackage pkg : _modelledBundle.getExportedPackages()) {
      _capabilities.add(new OBRCapability(pkg, repositoryAdmin));
    }

    for (ExportedService svc : _modelledBundle.getExportedServices()) {
      _capabilities.add(new OBRCapability(svc, repositoryAdmin));
    }

    _requirements = new ArrayList<Requirement>();
    for (ImportedPackage pkg : _modelledBundle.getImportedPackages()) {
      _requirements.add(new RequirementImpl(pkg));
View Full Code Here

TOP

Related Classes of org.apache.aries.application.resolver.obr.impl.OBRCapability

Copyright © 2018 www.massapicom. 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.