Examples of OsgiIdentityCapability


Examples of org.apache.aries.subsystem.core.internal.OsgiIdentityCapability

  public List<Capability> toCapabilities(Resource resource) {
    ArrayList<Capability> capabilities = new ArrayList<Capability>();
    for (Header<?> header : headers.values())
      if (header instanceof CapabilityHeader)
        capabilities.addAll(((CapabilityHeader<?>)header).toCapabilities(resource));
    capabilities.add(new OsgiIdentityCapability(
        resource,
        getSubsystemSymbolicNameHeader().getSymbolicName(),
        getSubsystemVersionHeader().getVersion(),
        getSubsystemTypeHeader().getType()));
    capabilities.trimToSize();
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.