|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.radman.service.bundleManager.OSGiBundle
public class OSGiBundle
OSGiBundle represent an OSGi bundle.
| Constructor Summary | |
|---|---|
OSGiBundle(org.osgi.framework.Bundle bundle)
Construct an instance of OSGiBundle with the specified argument. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBundleSymbolicName()
Returns the bundle symbolic name. |
java.lang.String |
getBundleURL()
Returns the bundle URL. |
java.util.List<OSGiServiceReference> |
getRegisteredServices()
Returns the list of services, each represented by OSGiServiceReference,
that are registered for this bundle at a particular moment. |
java.util.List<OSGiServiceReference> |
getServicesInUse()
Returns the list of services, each represented by OSGiServiceReference,
that are use by this bundle at a particular moment. |
java.lang.String |
getVersion()
Returns the bundle version. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiBundle(org.osgi.framework.Bundle bundle)
throws java.lang.IllegalArgumentException
OSGiBundle with the specified argument.
bundle - The bundle. This argument must not be null.
java.lang.IllegalArgumentException - Thrown if the specified bundle is null.| Method Detail |
|---|
public final java.lang.String getBundleSymbolicName()
null object.
Constants.BUNDLE_SYMBOLICNAMEpublic final java.lang.String getVersion()
null object.
Constants.BUNDLE_VERSIONpublic final java.lang.String getBundleURL()
Constants.BUNDLE_UPDATELOCATIONpublic final java.util.List<OSGiServiceReference> getRegisteredServices()
OSGiServiceReference,
that are registered for this bundle at a particular moment. Returns an empty list if there are none.
public final java.util.List<OSGiServiceReference> getServicesInUse()
OSGiServiceReference,
that are use by this bundle at a particular moment. Returns an empty list if there are none.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||