Package org.osgi.service.indexer.impl.types

Examples of org.osgi.service.indexer.impl.types.SymbolicName


          else
            builder.addAttribute(key, attribEntry.getValue());
        }
      }

      SymbolicName bsn = Util.getSymbolicName(resource);
      builder.addAttribute(Namespaces.ATTR_BUNDLE_SYMBOLIC_NAME, bsn.getName());
      Version bundleVersion = Util.getVersion(resource);
      builder.addAttribute(Namespaces.ATTR_BUNDLE_VERSION, bundleVersion);

      caps.add(builder.buildCapability());
    }
View Full Code Here


  public void setKnownBundlesExtra(Properties extras) {
    this.extraProperties = extras;
  }

  public void analyzeResource(Resource resource, List<Capability> caps, List<Requirement> reqs) throws Exception {
    SymbolicName resourceName;
    try {
      resourceName = Util.getSymbolicName(resource);
    } catch (IllegalArgumentException e) {
      // not a bundle, so return without analyzing
      return;
View Full Code Here

TOP

Related Classes of org.osgi.service.indexer.impl.types.SymbolicName

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.