Tabnine Logo
BundleRevision.getCapabilities
Code IndexAdd Tabnine to your IDE (free)

How to use
getCapabilities
method
in
org.osgi.framework.wiring.BundleRevision

Best Java code snippets using org.osgi.framework.wiring.BundleRevision.getCapabilities (Showing top 3 results out of 315)

origin: org.eclipse.platform/org.eclipse.osgi.compatibility.state

BundleDescription createDescription(BundleRevision resource) {
  Version version = Version.emptyVersion;
  String symbolicNameSpecification = null;
  Collection<Capability> idList = resource.getCapabilities(IdentityNamespace.IDENTITY_NAMESPACE);
  List<BundleSpecification> requireBundles = new ArrayList<>();
  Collection<Capability> capabilities = resource.getCapabilities(null);
origin: com.github.veithen.cosmos.bootstrap/org.eclipse.osgi.compatibility.state

BundleDescription createDescription(BundleRevision resource) {
  Version version = Version.emptyVersion;
  String symbolicNameSpecification = null;
  Collection<Capability> idList = resource.getCapabilities(IdentityNamespace.IDENTITY_NAMESPACE);
  List<BundleSpecification> requireBundles = new ArrayList<BundleSpecification>();
  Collection<Capability> capabilities = resource.getCapabilities(null);
origin: apache/karaf

for (Capability cap : res.getCapabilities(null)) {
  hasEeCap |= cap.getNamespace().equals(EXECUTION_ENVIRONMENT_NAMESPACE);
org.osgi.framework.wiringBundleRevisiongetCapabilities

Javadoc

Returns the capabilities declared by this resource.

This method returns the same value as #getDeclaredCapabilities(String).

Popular methods of BundleRevision

  • getBundle
  • getTypes
    Returns the special types of this bundle revision. The bundle revision type values are: * #TYPE_FRA
  • getWiring
    Returns the bundle wiring which is using this bundle revision.
  • getDeclaredCapabilities
    Returns the capabilities declared by this bundle revision.
  • getDeclaredRequirements
    Returns the requirements declared by this bundle revision.
  • getSymbolicName
    Returns the symbolic name for this bundle revision.
  • getVersion
    Returns the version for this bundle revision.
  • equals
  • getRequirements
    This method returns the same value as #getDeclaredRequirements(String).

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • JOptionPane (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now