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

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


 
  private void computeGenericRequirements() {
    RequireCapabilityHeader rch = (RequireCapabilityHeader)manifest.getHeader(RequireCapabilityHeader.NAME);
    if (rch != null)
      for (RequireCapabilityHeader.Clause clause : rch.getClauses())
        requirements.add(new RequireCapabilityRequirement(clause, this));
  }
View Full Code Here


 
  private void setImportIsolationPolicy(RegionFilterBuilder builder, RequireCapabilityHeader header) throws InvalidSyntaxException {
    if (header == null)
      return;
    for (RequireCapabilityHeader.Clause clause : header.getClauses()) {
      RequireCapabilityRequirement requirement = new RequireCapabilityRequirement(clause, this);
      String policy = requirement.getNamespace();
      String filter = requirement.getDirectives().get(RequireCapabilityRequirement.DIRECTIVE_FILTER);
      if (filter == null)
        // A null filter directive means the requirement matches any
        // capability from the same namespace.
        builder.allowAll(policy);
      else
View Full Code Here

TOP

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

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.