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

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


      return false;
    return subsystemContentHeader.contains(resource);
  }
 
  public static boolean isDependency(BasicSubsystem subsystem, Resource resource) {
    DeploymentManifest manifest = subsystem.getDeploymentManifest();
    if (manifest == null)
      return false;
    ProvisionResourceHeader header = manifest.getProvisionResourceHeader();
    if (header == null)
      return false;
    return header.contains(resource);
  }
View Full Code Here


  protected boolean isDependency() {
    return Utils.isDependency(subsystem, resource);
  }
 
  protected boolean isReferencedProvisionTo() {
    DeploymentManifest manifest = subsystem.getDeploymentManifest();
    if (manifest != null) {
      DeployedContentHeader header = manifest.getDeployedContentHeader();
      if (header != null && header.contains(resource))
        return subsystem.isReferenced(resource);
    }
    if (subsystem.equals(provisionTo))
      return isReferencedSubsystem();
View Full Code Here

      return isReferencedSubsystem();
    return false;
  }
 
  protected boolean isReferencedSubsystem() {
    DeploymentManifest manifest = subsystem.getDeploymentManifest();
    if (manifest != null) {
      DeployedContentHeader header = manifest.getDeployedContentHeader();
      if (header != null && header.contains(resource))
        return subsystem.isReferenced(resource);
    }
    return true;
  }
View Full Code Here

TOP

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

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.