Package org.apache.aries.subsystem.core.archive

Examples of org.apache.aries.subsystem.core.archive.RequireBundleRequirement


 
  private void computeOsgiWiringBundleRequirements() {
    RequireBundleHeader rbh = (RequireBundleHeader)manifest.getHeader(RequireBundleHeader.NAME);
    if (rbh != null)
      for (RequireBundleHeader.Clause clause : rbh.getClauses())
        requirements.add(new RequireBundleRequirement(clause, this));
  }
View Full Code Here


 
  private void setImportIsolationPolicy(RegionFilterBuilder builder, RequireBundleHeader header) throws InvalidSyntaxException {
    if (header == null)
      return;
    for (RequireBundleHeader.Clause clause : header.getClauses()) {
      RequireBundleRequirement requirement = new RequireBundleRequirement(clause, this);
      String policy = RegionFilter.VISIBLE_REQUIRE_NAMESPACE;
      String filter = requirement.getDirectives().get(RequireBundleRequirement.DIRECTIVE_FILTER);
      builder.allow(policy, filter);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.aries.subsystem.core.archive.RequireBundleRequirement

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.