|
OSGi Service Platform Release 4 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Bundle | |
org.osgi.framework | The OSGi Framework Package. |
org.osgi.service.cm | The OSGi Configuration Admin service Package. |
org.osgi.service.condpermadmin | The OSGi Conditional Permission Admin Specification Version 1.0. |
org.osgi.service.log | The OSGi Log Service Package. |
org.osgi.service.metatype | The OSGi Metatype Package. |
org.osgi.service.packageadmin | The OSGi Package Admin service Package. |
org.osgi.service.startlevel | The OSGi StartLevel service Package. |
org.osgi.util.xml | The OSGi XML Parser service Package. |
Uses of Bundle in org.osgi.framework |
Fields in org.osgi.framework declared as Bundle | |
protected Bundle |
AdminPermission.bundle
The bundle governed by this AdminPermission - only used if wildcard is false and filter == null |
Methods in org.osgi.framework that return Bundle | |
Bundle |
ServiceReference.getBundle()
Returns the bundle that registered the service referenced by this ServiceReference object. |
Bundle[] |
ServiceReference.getUsingBundles()
Returns the bundles that are using the service referenced by this ServiceReference object. |
Bundle |
FrameworkEvent.getBundle()
Returns the bundle associated with the event. |
Bundle |
BundleEvent.getBundle()
Returns the bundle which had a lifecycle change. |
Bundle |
BundleContext.getBundle()
Returns the Bundle object associated with this
BundleContext . |
Bundle |
BundleContext.installBundle(java.lang.String location)
Installs a bundle from the specified location string. |
Bundle |
BundleContext.installBundle(java.lang.String location,
java.io.InputStream input)
Installs a bundle from the specified InputStream object. |
Bundle |
BundleContext.getBundle(long id)
Returns the bundle with the specified identifier. |
Bundle[] |
BundleContext.getBundles()
Returns a list of all installed bundles. |
Methods in org.osgi.framework with parameters of type Bundle | |
boolean |
ServiceReference.isAssignableTo(Bundle bundle,
java.lang.String className)
Tests if the bundle that registered the service referenced by this ServiceReference and the specified bundle use the same source
for the package of the specified class name. |
java.lang.Object |
ServiceFactory.getService(Bundle bundle,
ServiceRegistration registration)
Creates a new service object. |
void |
ServiceFactory.ungetService(Bundle bundle,
ServiceRegistration registration,
java.lang.Object service)
Releases a service object. |
Constructors in org.osgi.framework with parameters of type Bundle | |
FrameworkEvent(int type,
Bundle bundle,
java.lang.Throwable throwable)
Creates a Framework event regarding the specified bundle. |
|
BundleEvent(int type,
Bundle bundle)
Creates a bundle event of the specified type. |
|
AdminPermission(Bundle bundle,
java.lang.String actions)
Creates a new AdminPermission object for use by the Policy
object to instantiate new Permission objects. |
Uses of Bundle in org.osgi.service.cm |
Constructors in org.osgi.service.cm with parameters of type Bundle | |
ConfigurationPermission(Bundle bundle,
java.lang.String pid,
java.lang.String factoryPid,
int action)
Create a new Configuration Permission. |
Uses of Bundle in org.osgi.service.condpermadmin |
Methods in org.osgi.service.condpermadmin with parameters of type Bundle | |
static Condition |
BundleSignerCondition.getCondition(Bundle bundle,
ConditionInfo info)
Constructs a condition that tries to match the passed Bundle's location to the location pattern. |
static Condition |
BundleLocationCondition.getCondition(Bundle bundle,
ConditionInfo info)
Constructs a condition that tries to match the passed Bundle's location to the location pattern. |
Uses of Bundle in org.osgi.service.log |
Methods in org.osgi.service.log that return Bundle | |
Bundle |
LogEntry.getBundle()
Returns the bundle that created this LogEntry object. |
Uses of Bundle in org.osgi.service.metatype |
Methods in org.osgi.service.metatype that return Bundle | |
Bundle |
MetaTypeInformation.getBundle()
Return the bundle for which this object provides meta type information. |
Methods in org.osgi.service.metatype with parameters of type Bundle | |
MetaTypeInformation |
MetaTypeService.getMetaTypeInformation(Bundle bundle)
Return the MetaType information for the specified bundle. |
Uses of Bundle in org.osgi.service.packageadmin |
Methods in org.osgi.service.packageadmin that return Bundle | |
Bundle |
RequiredBundle.getBundle()
Returns the bundle which defines this RequiredBundle. |
Bundle[] |
RequiredBundle.getRequiringBundles()
Returns the resolved bundles that currently require this bundle. |
Bundle[] |
PackageAdmin.getBundles(java.lang.String symbolicName,
java.lang.String versionRange)
Returns the bundles with the specified symbolic name within the specified version range. |
Bundle[] |
PackageAdmin.getFragments(Bundle bundle)
Returns an array of attached fragment bundles for the specified bundle. |
Bundle[] |
PackageAdmin.getHosts(Bundle bundle)
Returns an array of host bundles to which the specified fragment bundle is attached or null if the specified bundle is not attached to
a host or is not a fragment bundle. |
Bundle |
PackageAdmin.getBundle(java.lang.Class clazz)
Returns the bundle for which the specified class is loaded from. |
Bundle |
ExportedPackage.getExportingBundle()
Returns the bundle exporting the package associated with this ExportedPackage object. |
Bundle[] |
ExportedPackage.getImportingBundles()
Returns the resolved bundles that are currently importing the package associated with this ExportedPackage object. |
Methods in org.osgi.service.packageadmin with parameters of type Bundle | |
ExportedPackage[] |
PackageAdmin.getExportedPackages(Bundle bundle)
Gets the packages exported by the specified bundle. |
void |
PackageAdmin.refreshPackages(Bundle[] bundles)
Forces the update (replacement) or removal of packages exported by the specified bundles. |
boolean |
PackageAdmin.resolveBundles(Bundle[] bundles)
Resolve the specified bundles. |
Bundle[] |
PackageAdmin.getFragments(Bundle bundle)
Returns an array of attached fragment bundles for the specified bundle. |
Bundle[] |
PackageAdmin.getHosts(Bundle bundle)
Returns an array of host bundles to which the specified fragment bundle is attached or null if the specified bundle is not attached to
a host or is not a fragment bundle. |
int |
PackageAdmin.getBundleType(Bundle bundle)
Returns the special type of the specified bundle. |
Uses of Bundle in org.osgi.service.startlevel |
Methods in org.osgi.service.startlevel with parameters of type Bundle | |
int |
StartLevel.getBundleStartLevel(Bundle bundle)
Return the assigned start level value for the specified Bundle. |
void |
StartLevel.setBundleStartLevel(Bundle bundle,
int startlevel)
Assign a start level value to the specified Bundle. |
boolean |
StartLevel.isBundlePersistentlyStarted(Bundle bundle)
Return the persistent state of the specified bundle. |
Uses of Bundle in org.osgi.util.xml |
Methods in org.osgi.util.xml with parameters of type Bundle | |
java.lang.Object |
XMLParserActivator.getService(Bundle bundle,
ServiceRegistration registration)
Creates a new XML Parser Factory object. |
void |
XMLParserActivator.ungetService(Bundle bundle,
ServiceRegistration registration,
java.lang.Object service)
Releases a XML Parser Factory object. |
|
OSGi Service Platform Release 4 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |