Package | Description |
---|---|
org.osgi.framework |
Framework Package Version 1.5.
|
org.osgi.framework.launch |
Framework Launch Package Version 1.0.
|
org.osgi.service.blueprint.container |
Blueprint Container Package Version 1.0.
|
org.osgi.service.component |
Service Component Package Version 1.1.
|
org.osgi.service.condpermadmin |
Conditional Permission Admin Package Version 1.1.
|
org.osgi.service.log |
Log Service Package Version 1.3.
|
org.osgi.service.metatype |
Metatype Package Version 1.1.
|
org.osgi.service.packageadmin |
Package Admin Package Version 1.2.
|
org.osgi.service.remoteserviceadmin |
Remote Service Admin Package Version 1.0.
|
org.osgi.service.startlevel |
Start Level Package Version 1.1.
|
org.osgi.util.tracker |
Tracker Package Version 1.4.
|
org.osgi.util.xml |
XML Parser Package Version 1.0.
|
Modifier and Type | Method and Description |
---|---|
Bundle |
ServiceReference.getBundle()
Returns the bundle that registered the service referenced by this
ServiceReference object. |
Bundle |
FrameworkEvent.getBundle()
Returns the bundle associated with the event.
|
Bundle |
BundleReference.getBundle()
Returns the
Bundle object associated with this
BundleReference . |
Bundle |
BundleEvent.getBundle()
Returns the bundle which had a lifecycle change.
|
Bundle |
BundleContext.getBundle()
Returns the
Bundle object associated with this
BundleContext . |
static Bundle |
FrameworkUtil.getBundle(Class classFromBundle)
Return a
Bundle for the specified bundle class. |
Bundle |
BundleContext.getBundle(long id)
Returns the bundle with the specified identifier.
|
Bundle[] |
BundleContext.getBundles()
Returns a list of all installed bundles.
|
Bundle[] |
ServiceReference.getUsingBundles()
Returns the bundles that are using the service referenced by this
ServiceReference object. |
Bundle |
BundleContext.installBundle(String location)
Installs a bundle from the specified
location identifier. |
Bundle |
BundleContext.installBundle(String location,
InputStream input)
Installs a bundle from the specified
InputStream object. |
Modifier and Type | Method and Description |
---|---|
Object |
ServiceFactory.getService(Bundle bundle,
ServiceRegistration registration)
Creates a new service object.
|
boolean |
ServiceReference.isAssignableTo(Bundle bundle,
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. |
void |
ServiceFactory.ungetService(Bundle bundle,
ServiceRegistration registration,
Object service)
Releases a service object.
|
Constructor and Description |
---|
AdminPermission(Bundle bundle,
String actions)
Creates a new requested
AdminPermission object to be used by
the code that must perform checkPermission . |
BundleEvent(int type,
Bundle bundle)
Creates a bundle event of the specified type.
|
FrameworkEvent(int type,
Bundle bundle,
Throwable throwable)
Creates a Framework event regarding the specified bundle.
|
PackagePermission(String name,
Bundle exportingBundle,
String actions)
Creates a new requested
PackagePermission object to be used
by code that must perform checkPermission for the
import action. |
Modifier and Type | Interface and Description |
---|---|
interface |
Framework
A Framework instance.
|
Modifier and Type | Method and Description |
---|---|
Bundle |
BlueprintEvent.getBundle()
Return the Blueprint bundle associated with this event.
|
Bundle |
BlueprintEvent.getExtenderBundle()
Return the Blueprint extender bundle that is generating this event.
|
Constructor and Description |
---|
BlueprintEvent(int type,
Bundle bundle,
Bundle extenderBundle)
Create a simple
BlueprintEvent object. |
BlueprintEvent(int type,
Bundle bundle,
Bundle extenderBundle,
String[] dependencies)
Create a
BlueprintEvent object associated with a set of
dependencies. |
BlueprintEvent(int type,
Bundle bundle,
Bundle extenderBundle,
String[] dependencies,
Throwable cause)
Create a
BlueprintEvent object associated with a failure
cause and a set of dependencies. |
BlueprintEvent(int type,
Bundle bundle,
Bundle extenderBundle,
Throwable cause)
Create a
BlueprintEvent object associated with a failure
cause. |
Modifier and Type | Method and Description |
---|---|
Bundle |
ComponentContext.getUsingBundle()
If the component instance is registered as a service using the
servicefactory="true" attribute, then this method
returns the bundle using the service provided by the component instance. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Bundle |
LogEntry.getBundle()
Returns the bundle that created this
LogEntry object. |
Modifier and Type | Method and Description |
---|---|
Bundle |
MetaTypeInformation.getBundle()
Return the bundle for which this object provides meta type information.
|
Modifier and Type | Method and Description |
---|---|
MetaTypeInformation |
MetaTypeService.getMetaTypeInformation(Bundle bundle)
Return the MetaType information for the specified bundle.
|
Modifier and Type | Method and Description |
---|---|
Bundle |
RequiredBundle.getBundle()
Returns the bundle associated with this required bundle.
|
Bundle |
PackageAdmin.getBundle(Class clazz)
Returns the bundle from which the specified class is loaded.
|
Bundle[] |
PackageAdmin.getBundles(String symbolicName,
String versionRange)
Returns the bundles with the specified symbolic name whose bundle version
is within the specified version range.
|
Bundle |
ExportedPackage.getExportingBundle()
Returns the bundle exporting the package associated with this exported
package.
|
Bundle[] |
PackageAdmin.getFragments(Bundle bundle)
Returns an array of attached fragment bundles for the specified bundle.
|
Bundle[] |
PackageAdmin.getHosts(Bundle bundle)
Returns the host bundles to which the specified fragment bundle is
attached.
|
Bundle[] |
ExportedPackage.getImportingBundles()
Returns the resolved bundles that are currently wired to this exported
package.
|
Bundle[] |
RequiredBundle.getRequiringBundles()
Returns the bundles that currently require this required bundle.
|
Modifier and Type | Method and Description |
---|---|
int |
PackageAdmin.getBundleType(Bundle bundle)
Returns the special type of the specified bundle.
|
ExportedPackage[] |
PackageAdmin.getExportedPackages(Bundle bundle)
Gets the exported packages for the specified bundle.
|
Bundle[] |
PackageAdmin.getFragments(Bundle bundle)
Returns an array of attached fragment bundles for the specified bundle.
|
Bundle[] |
PackageAdmin.getHosts(Bundle bundle)
Returns the host bundles to which the specified fragment bundle is
attached.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Bundle |
RemoteServiceAdminEvent.getSource()
Return the bundle source of this event.
|
Constructor and Description |
---|
RemoteServiceAdminEvent(int type,
Bundle source,
ExportReference exportReference,
Throwable exception)
Create a Remote Service Admin Event for an export notification.
|
RemoteServiceAdminEvent(int type,
Bundle source,
ImportReference importReference,
Throwable exception)
Create a Remote Service Admin Event for an import notification.
|
Modifier and Type | Method and Description |
---|---|
int |
StartLevel.getBundleStartLevel(Bundle bundle)
Return the assigned start level value for the specified Bundle.
|
boolean |
StartLevel.isBundleActivationPolicyUsed(Bundle bundle)
Returns whether the specified bundle's autostart setting indicates that
the activation policy declared in the bundle's manifest must be used.
|
boolean |
StartLevel.isBundlePersistentlyStarted(Bundle bundle)
Returns whether the specified bundle's autostart setting indicates the
bundle must be started.
|
void |
StartLevel.setBundleStartLevel(Bundle bundle,
int startlevel)
Assign a start level value to the specified Bundle.
|
Modifier and Type | Method and Description |
---|---|
Bundle[] |
BundleTracker.getBundles()
Return an array of
Bundle s for all bundles being tracked by
this BundleTracker . |
Modifier and Type | Method and Description |
---|---|
Object |
BundleTrackerCustomizer.addingBundle(Bundle bundle,
BundleEvent event)
A bundle is being added to the
BundleTracker . |
Object |
BundleTracker.addingBundle(Bundle bundle,
BundleEvent event)
Default implementation of the
BundleTrackerCustomizer.addingBundle method. |
Object |
BundleTracker.getObject(Bundle bundle)
Returns the customized object for the specified
Bundle if
the specified bundle is being tracked by this BundleTracker . |
void |
BundleTrackerCustomizer.modifiedBundle(Bundle bundle,
BundleEvent event,
Object object)
A bundle tracked by the
BundleTracker has been modified. |
void |
BundleTracker.modifiedBundle(Bundle bundle,
BundleEvent event,
Object object)
Default implementation of the
BundleTrackerCustomizer.modifiedBundle method. |
void |
BundleTracker.remove(Bundle bundle)
Remove a bundle from this
BundleTracker . |
void |
BundleTrackerCustomizer.removedBundle(Bundle bundle,
BundleEvent event,
Object object)
A bundle tracked by the
BundleTracker has been removed. |
void |
BundleTracker.removedBundle(Bundle bundle,
BundleEvent event,
Object object)
Default implementation of the
BundleTrackerCustomizer.removedBundle method. |
Modifier and Type | Method and Description |
---|---|
Object |
XMLParserActivator.getService(Bundle bundle,
ServiceRegistration registration)
Creates a new XML Parser Factory object.
|
void |
XMLParserActivator.ungetService(Bundle bundle,
ServiceRegistration registration,
Object service)
Releases a XML Parser Factory object.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.