public class BundleInfo extends Object
Modifier and Type | Field and Description |
---|---|
long |
id |
int |
state |
String |
symbolicName |
org.osgi.framework.Version |
version |
Constructor and Description |
---|
BundleInfo(String symbolicName,
org.osgi.framework.Version version,
int state,
long id) |
Modifier and Type | Method and Description |
---|---|
static BundleInfo |
getBundleInfo(org.osgi.framework.BundleContext bundleContext,
String symbolicName,
String version) |
static Bundle |
getMatchingBundle(org.osgi.framework.BundleContext bundleContext,
String bundleSymbolicName,
String version)
Finds the bundle with given symbolic name in our bundle context.
|
static boolean |
isSnapshot(org.osgi.framework.Version v)
Check if the version is a snapshot version
|
public final String symbolicName
public final org.osgi.framework.Version version
public final int state
public final long id
public BundleInfo(String symbolicName, org.osgi.framework.Version version, int state, long id)
public static BundleInfo getBundleInfo(org.osgi.framework.BundleContext bundleContext, String symbolicName, String version)
public static Bundle getMatchingBundle(org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName, String version)
public static boolean isSnapshot(org.osgi.framework.Version v)
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.