Examples of AriesSubsystemParentsHeader


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

    return getDeploymentManifestHeaderValue(DeploymentManifest.ARIESSUBSYSTEM_LOCATION);
  }

  @Override
  public Collection<Subsystem> getParents() {
    AriesSubsystemParentsHeader header = getDeploymentManifest().getAriesSubsystemParentsHeader();
    if (header == null)
      return Collections.emptyList();
    Collection<Subsystem> result = new ArrayList<Subsystem>(header.getClauses().size());
    for (AriesSubsystemParentsHeader.Clause clause : header.getClauses()) {
      BasicSubsystem subsystem = Activator.getInstance().getSubsystems().getSubsystemById(clause.getId());
      if (subsystem == null)
        continue;
      result.add(subsystem);
    }
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.