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

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Socket (java.net)
    Provides a client-side TCP socket.
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • JCheckBox (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Option (scala)
  • 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