Codota Logo
BundleRevision.getCapabilities
Code IndexAdd Codota 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)

  • Common ways to obtain BundleRevision
private void myMethod () {
BundleRevision b =
  • Codota IconBundle bundle;bundle.adapt(BundleRevision.class)
  • Codota IconBundleWiring bundleWiring;bundleWiring.getRevision()
  • Codota IconBundleCapability bundleCapability;bundleCapability.getRevision()
  • Smart code suggestions by Codota
}
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

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • onCreateOptionsMenu (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Kernel (java.awt.image)
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now