| Package | Description |
|---|---|
| org.apache.felix.framework | |
| org.apache.felix.framework.ext | |
| org.apache.felix.framework.util | |
| org.osgi.framework |
Framework Package Version 1.8.
|
| org.osgi.framework.hooks.bundle |
Framework Bundle Hooks Package Version 1.1.
|
| org.osgi.framework.launch |
Framework Launch Package Version 1.2.
|
| org.osgi.framework.wiring |
Framework Wiring Package Version 1.2.
|
| org.osgi.service.packageadmin |
Package Admin Package Version 1.2.
|
| org.osgi.service.startlevel |
Start Level Package Version 1.1.
|
| org.osgi.util.tracker |
Tracker Package Version 1.5.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
BundleImpl |
class |
Felix |
| Modifier and Type | Field and Description |
|---|---|
private Bundle |
ExtensionManager.ExtensionTuple.m_bundle |
private Bundle |
ServiceRegistrationImpl.m_bundle |
private Bundle |
ServiceRegistrationImpl.ServiceFactoryPrivileged.m_bundle |
private Bundle[] |
ExtensionManager.m_extensionsCache |
private Bundle |
BundleImpl.m_installingBundle |
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.ConcurrentMap<Bundle,ServiceRegistry.UsageCount[]> |
ServiceRegistry.m_inUseMap |
private java.util.concurrent.ConcurrentMap<Bundle,java.util.List<ServiceRegistration<?>>> |
ServiceRegistry.m_regsMap |
private java.util.List<java.util.Collection<Bundle>> |
FrameworkWiringImpl.m_requests |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
BundleContextImpl.getBundle() |
Bundle |
BundleImpl.getBundle() |
Bundle |
FrameworkStartLevelImpl.getBundle() |
Bundle |
FrameworkStartLevelImpl.BundleStartLevelImpl.getBundle() |
Bundle |
FrameworkWiringImpl.getBundle() |
Bundle |
RequiredBundleImpl.getBundle() |
Bundle |
ServiceRegistrationImpl.ServiceReferenceImpl.getBundle() |
(package private) Bundle |
Felix.getBundle(BundleContext bc,
long id)
Implementation for BundleContext.getBundle().
|
(package private) Bundle |
Felix.getBundle(java.lang.Class clazz)
This method returns the bundle associated with the specified class if
the class was loaded from a bundle from this framework instance.
|
Bundle |
PackageAdminImpl.getBundle(java.lang.Class clazz)
Returns the bundle associated with this class if the class was
loaded from a bundle, otherwise returns null.
|
Bundle |
BundleContextImpl.getBundle(long id) |
(package private) Bundle |
Felix.getBundle(long id)
Retrieves a bundle by its identifier and avoids bundles hooks.
|
Bundle |
BundleContextImpl.getBundle(java.lang.String location) |
(package private) Bundle |
Felix.getBundle(java.lang.String location)
Retrieves a bundle from its location.
|
Bundle[] |
BundleContextImpl.getBundles() |
(package private) Bundle[] |
Felix.getBundles()
Retrieves all installed bundles and avoids bundles hooks.
|
(package private) Bundle[] |
Felix.getBundles(BundleContext bc)
Implementation for BundleContext.getBundles().
|
Bundle[] |
PackageAdminImpl.getBundles(java.lang.String symbolicName,
java.lang.String versionRange)
Returns all bundles that have a specified symbolic name and whose
version is in the specified version range.
|
Bundle |
ExportedPackageImpl.getExportingBundle() |
Bundle[] |
PackageAdminImpl.getFragments(Bundle bundle) |
Bundle[] |
PackageAdminImpl.getHosts(Bundle bundle) |
Bundle[] |
ExportedPackageImpl.getImportingBundles() |
Bundle[] |
RequiredBundleImpl.getRequiringBundles() |
private Bundle[] |
ServiceRegistrationImpl.getUsingBundles() |
Bundle[] |
ServiceRegistrationImpl.ServiceReferenceImpl.getUsingBundles() |
Bundle[] |
ServiceRegistry.getUsingBundles(ServiceReference<?> ref) |
(package private) Bundle |
Felix.installBundle(Bundle origin,
java.lang.String location,
java.io.InputStream is) |
Bundle |
BundleContextImpl.installBundle(java.lang.String location) |
Bundle |
BundleContextImpl.installBundle(java.lang.String location,
java.io.InputStream is) |
private Bundle |
Felix.reloadBundle(BundleArchive ba) |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.util.Collection<Bundle> |
Felix.getDependencyClosure(java.util.Collection<Bundle> targets) |
java.util.Collection<Bundle> |
FrameworkWiringImpl.getDependencyClosure(java.util.Collection<Bundle> targets) |
java.util.Set<Bundle> |
BundleRevisionDependencies.getDependentBundles(Bundle bundle) |
java.util.Set<Bundle> |
BundleRevisionDependencies.getImportingBundles(Bundle exporter,
BundleCapability exportCap) |
(package private) java.util.Set<Bundle> |
Felix.getImportingBundles(BundleImpl exporter,
BundleCapability cap) |
(package private) java.util.Collection<Bundle> |
Felix.getRemovalPendingBundles() |
java.util.Collection<Bundle> |
FrameworkWiringImpl.getRemovalPendingBundles() |
java.util.Set<Bundle> |
BundleRevisionDependencies.getRequiringBundles(Bundle bundle) |
(package private) java.util.Set<Bundle> |
Felix.getRequiringBundles(BundleImpl bundle) |
| Modifier and Type | Method and Description |
|---|---|
private void |
ExtensionManager._add(java.lang.String name,
Bundle extension) |
protected void |
Logger._log(Bundle bundle,
ServiceReference sr,
int level,
java.lang.String msg,
java.lang.Throwable throwable) |
private void |
ExtensionManager.addExtension(java.lang.Object source,
Bundle extension) |
int |
BundleImpl.compareTo(Bundle t) |
private BundleActivator |
Felix.createBundleActivator(Bundle impl) |
private static BundleDTO |
DTOFactory.createBundleDTO(Bundle bundle) |
private static BundleRevisionDTO |
DTOFactory.createBundleRevisionDTO(Bundle bundle) |
private static BundleRevisionDTO |
DTOFactory.createBundleRevisionDTO(Bundle bundle,
BundleRevisionImpl revision,
java.util.Set<BundleRevisionDTO> resources) |
private static BundleRevisionDTO[] |
DTOFactory.createBundleRevisionDTOArray(Bundle bundle) |
private static BundleStartLevelDTO |
DTOFactory.createBundleStartLevelDTO(Bundle bundle) |
private static BundleWiringDTO |
DTOFactory.createBundleWiringDTO(Bundle bundle) |
private static BundleWiringDTO[] |
DTOFactory.createBundleWiringDTOArray(Bundle bundle) |
(package private) static <T> T |
DTOFactory.createDTO(Bundle bundle,
java.lang.Class<T> type) |
private static ServiceReferenceDTO[] |
DTOFactory.createServiceReferenceDTOArray(Bundle bundle) |
protected void |
Logger.doLog(Bundle bundle,
ServiceReference sr,
int level,
java.lang.String msg,
java.lang.Throwable throwable) |
(package private) void |
Felix.fireBundleEvent(int type,
Bundle bundle)
Fires bundle events.
|
(package private) void |
Felix.fireBundleEvent(int type,
Bundle bundle,
Bundle origin) |
(package private) void |
Felix.fireFrameworkEvent(int type,
Bundle bundle,
java.lang.Throwable throwable)
Fires bundle events.
|
(package private) void |
ServiceRegistry.flushUsageCount(Bundle bundle,
ServiceReference<?> ref,
ServiceRegistry.UsageCount uc)
Utility method to flush the specified bundle's usage count for the
specified service reference.
|
(package private) ServiceReference[] |
Felix.getBundleServicesInUse(Bundle bundle) |
(package private) int |
Felix.getBundleStartLevel(Bundle bundle)
Returns the start level for the specified bundle; this method
implements functionality for the Start Level service.
|
int |
StartLevelImpl.getBundleStartLevel(Bundle bundle) |
int |
PackageAdminImpl.getBundleType(Bundle bundle) |
java.util.Set<Bundle> |
BundleRevisionDependencies.getDependentBundles(Bundle bundle) |
(package private) ExportedPackage[] |
Felix.getExportedPackages(Bundle b)
Returns an array of all actively exported packages from the specified
bundle or if the specified bundle is null an array
containing all actively exported packages by all bundles.
|
ExportedPackage[] |
PackageAdminImpl.getExportedPackages(Bundle bundle)
Returns the packages exported by the specified bundle.
|
private void |
Felix.getExportedPackages(Bundle bundle,
java.util.List list)
Adds any current active exported packages from the specified bundle
to the passed in list.
|
private java.lang.Object |
ServiceRegistrationImpl.getFactoryUnchecked(Bundle bundle) |
Bundle[] |
PackageAdminImpl.getFragments(Bundle bundle) |
Bundle[] |
PackageAdminImpl.getHosts(Bundle bundle) |
java.util.Set<Bundle> |
BundleRevisionDependencies.getImportingBundles(Bundle exporter,
BundleCapability exportCap) |
ServiceReference<?>[] |
ServiceRegistry.getRegisteredServices(Bundle bundle)
Get all service references for a bundle
|
java.util.Set<Bundle> |
BundleRevisionDependencies.getRequiringBundles(Bundle bundle) |
(package private) java.lang.Object |
ServiceRegistrationImpl.getService(Bundle acqBundle) |
(package private) <S> S |
Felix.getService(Bundle bundle,
ServiceReference<S> ref,
boolean isServiceObjetcs) |
<S> S |
ServiceRegistry.getService(Bundle bundle,
ServiceReference<S> ref,
boolean isServiceObjects) |
ServiceReference<?>[] |
ServiceRegistry.getServicesInUse(Bundle bundle) |
boolean |
BundleRevisionDependencies.hasDependents(Bundle bundle) |
(package private) Bundle |
Felix.installBundle(Bundle origin,
java.lang.String location,
java.io.InputStream is) |
boolean |
ServiceRegistrationImpl.ServiceReferenceImpl.isAssignableTo(Bundle requester,
java.lang.String className) |
(package private) boolean |
Felix.isBundleActivationPolicyUsed(Bundle bundle)
Returns whether the bundle is using its declared activation policy;
this is an method implementation for the Start Level service.
|
boolean |
StartLevelImpl.isBundleActivationPolicyUsed(Bundle bundle) |
(package private) boolean |
Felix.isBundlePersistentlyStarted(Bundle bundle)
Returns whether a bundle is persistently started; this is an
method implementation for the Start Level service.
|
boolean |
StartLevelImpl.isBundlePersistentlyStarted(Bundle bundle) |
void |
Logger.log(Bundle bundle,
int level,
java.lang.String msg) |
void |
Logger.log(Bundle bundle,
int level,
java.lang.String msg,
java.lang.Throwable throwable) |
(package private) ServiceRegistry.UsageCount |
ServiceRegistry.obtainUsageCount(Bundle bundle,
ServiceReference<?> ref,
java.lang.Object svcObj,
java.lang.Boolean isPrototype)
Obtain a UsageCount object, by looking for an existing one or creating a new one (if possible).
|
void |
PackageAdminImpl.refreshPackages(Bundle[] bundles)
The OSGi specification states that refreshing packages is
asynchronous; this method simply notifies the package admin
thread to do a refresh.
|
ServiceRegistration<?> |
ServiceRegistry.registerService(Bundle bundle,
java.lang.String[] classNames,
java.lang.Object svcObj,
java.util.Dictionary<?,?> dict)
Register a new service
Caller must fire service event as this method is not doing it!
|
void |
BundleRevisionDependencies.removeDependencies(Bundle bundle) |
boolean |
PackageAdminImpl.resolveBundles(Bundle[] bundles) |
(package private) void |
Felix.setBundleStartLevel(Bundle bundle,
int startLevel)
Sets the start level of the specified bundle; this method
implements functionality for the Start Level service.
|
void |
StartLevelImpl.setBundleStartLevel(Bundle bundle,
int startlevel) |
private void |
ServiceRegistrationImpl.ungetFactoryUnchecked(Bundle bundle,
java.lang.Object svcObj) |
(package private) void |
ServiceRegistrationImpl.ungetService(Bundle relBundle,
java.lang.Object svcObj) |
boolean |
ServiceRegistry.ungetService(Bundle bundle,
ServiceReference<?> ref,
java.lang.Object svcObj) |
(package private) boolean |
Felix.ungetService(Bundle bundle,
ServiceReference ref,
java.lang.Object srvObj) |
void |
ServiceRegistry.ungetServices(Bundle bundle)
This is a utility method to release all services being
used by the specified bundle.
|
void |
ServiceRegistry.unregisterService(Bundle bundle,
ServiceRegistration<?> reg)
Unregister a service
|
void |
ServiceRegistry.unregisterServices(Bundle bundle)
This method retrieves all services registrations for the specified
bundle and invokes ServiceRegistration.unregister() on each
one.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.util.Collection<Bundle> |
Felix.getDependencyClosure(java.util.Collection<Bundle> targets) |
java.util.Collection<Bundle> |
FrameworkWiringImpl.getDependencyClosure(java.util.Collection<Bundle> targets) |
private void |
Felix.populateDependentGraph(BundleImpl exporter,
java.util.Set<Bundle> set) |
void |
FrameworkWiringImpl.refreshBundles(java.util.Collection<Bundle> bundles,
FrameworkListener... listeners) |
(package private) void |
Felix.refreshPackages(java.util.Collection<Bundle> targets,
FrameworkListener[] listeners) |
(package private) boolean |
Felix.resolveBundles(java.util.Collection<Bundle> targets) |
boolean |
FrameworkWiringImpl.resolveBundles(java.util.Collection<Bundle> bundles) |
| Constructor and Description |
|---|
BundleImpl(Felix felix,
Bundle installingBundle,
BundleArchive archive) |
ExtensionTuple(BundleActivator activator,
Bundle bundle) |
RefreshHelper(Bundle bundle) |
ServiceFactoryPrivileged(Bundle bundle,
java.lang.Object svcObj) |
ServiceRegistrationImpl(ServiceRegistry registry,
Bundle bundle,
java.lang.String[] classes,
java.lang.Long serviceId,
java.lang.Object svcObj,
java.util.Dictionary dict) |
| Modifier and Type | Method and Description |
|---|---|
void |
SecurityProvider.checkBundle(Bundle bundle) |
java.lang.Object |
SecurityProvider.getSignerMatcher(Bundle bundle,
int signersType) |
| Modifier and Type | Field and Description |
|---|---|
private Bundle |
ListenerInfo.m_bundle |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
ListenerInfo.getBundle() |
| Modifier and Type | Method and Description |
|---|---|
void |
SecureAction.invokeBundleCollisionHook(CollisionHook ch,
int operationType,
Bundle targetBundle,
java.util.Collection<Bundle> collisionCandidates) |
private static void |
EventDispatcher.invokeBundleListenerCallback(Bundle bundle,
java.util.EventListener l,
java.util.EventObject event) |
private static void |
EventDispatcher.invokeFrameworkListenerCallback(Bundle bundle,
java.util.EventListener l,
java.util.EventObject event) |
private static void |
EventDispatcher.invokeServiceListenerCallback(Bundle bundle,
java.util.EventListener l,
Filter filter,
java.lang.Object acc,
java.util.EventObject event,
java.util.Dictionary oldProps) |
static boolean |
Util.isServiceAssignable(Bundle requester,
ServiceReference ref)
This method determines if the requesting bundle is able to cast
the specified service reference based on class visibility rules
of the underlying modules.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SecureAction.invokeBundleCollisionHook(CollisionHook ch,
int operationType,
Bundle targetBundle,
java.util.Collection<Bundle> collisionCandidates) |
void |
SecureAction.invokeBundleFindHook(FindHook fh,
BundleContext bc,
java.util.Collection<Bundle> bundles) |
| Constructor and Description |
|---|
ListenerInfo(Bundle bundle,
BundleContext context,
java.lang.Class listenerClass,
java.util.EventListener listener,
Filter filter,
java.lang.Object acc,
boolean removed) |
| Modifier and Type | Field and Description |
|---|---|
(package private) Bundle |
AdaptPermission.bundle
The bundle used by this AdaptPermission.
|
(package private) Bundle |
AdminPermission.bundle
The bundle governed by this AdminPermission - only used if filter == null
|
private Bundle |
BundleEvent.bundle
Bundle that had a change occur in its lifecycle.
|
(package private) Bundle |
CapabilityPermission.bundle
The bundle of the requested capability.
|
private Bundle |
FrameworkEvent.bundle
Bundle related to the event.
|
(package private) Bundle |
PackagePermission.bundle
The bundle used by this PackagePermission.
|
private Bundle |
SignerProperty.bundle |
private Bundle |
BundleEvent.origin
Bundle that was the origin of the event.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.ThreadLocal<Bundle> |
AdminPermission.recurse
ThreadLocal used to determine if we have recursively called
getProperties.
|
| Modifier and Type | Method and Description |
|---|---|
Bundle |
BundleContext.getBundle()
Returns the
Bundle object associated with this
BundleContext. |
Bundle |
BundleEvent.getBundle()
Returns the bundle which had a lifecycle change.
|
Bundle |
BundleReference.getBundle()
Returns the
Bundle object associated with this
BundleReference. |
Bundle |
FrameworkEvent.getBundle()
Returns the bundle associated with the event.
|
Bundle |
ServiceReference.getBundle()
Returns the bundle that registered the service referenced by this
ServiceReference object. |
static Bundle |
FrameworkUtil.getBundle(java.lang.Class<?> classFromBundle)
Return a
Bundle for the specified bundle class. |
Bundle |
BundleContext.getBundle(long id)
Returns the bundle with the specified identifier.
|
Bundle |
BundleContext.getBundle(java.lang.String location)
Returns the bundle with the specified location.
|
Bundle[] |
BundleContext.getBundles()
Returns a list of all installed bundles.
|
Bundle |
BundleEvent.getOrigin()
Returns the bundle that was the origin of the event.
|
Bundle[] |
ServiceReference.getUsingBundles()
Returns the bundles that are using the service referenced by this
ServiceReference object. |
Bundle |
BundleContext.installBundle(java.lang.String location)
Installs a bundle from the specified
location identifier. |
Bundle |
BundleContext.installBundle(java.lang.String location,
java.io.InputStream input)
Installs a bundle from the specified
InputStream object. |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
AdminPermission.createName(Bundle bundle)
Create a permission name from a Bundle
|
S |
PrototypeServiceFactory.getService(Bundle bundle,
ServiceRegistration<S> registration)
Returns a service object for a caller.
|
S |
ServiceFactory.getService(Bundle bundle,
ServiceRegistration<S> registration)
Returns a service object for a 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. |
void |
PrototypeServiceFactory.ungetService(Bundle bundle,
ServiceRegistration<S> registration,
S service)
Releases a service object customized for a caller.
|
void |
ServiceFactory.ungetService(Bundle bundle,
ServiceRegistration<S> registration,
S service)
Releases a service object customized for a bundle.
|
| Constructor and Description |
|---|
AdaptPermission(java.lang.String adaptClass,
Bundle adaptableBundle,
java.lang.String actions)
Creates a new requested
AdaptPermission object to be used by the
code that must perform checkPermission. |
AdminPermission(Bundle bundle,
java.lang.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.
|
BundleEvent(int type,
Bundle bundle,
Bundle origin)
Creates a bundle event of the specified type.
|
CapabilityPermission(java.lang.String namespace,
java.util.Map<java.lang.String,?> attributes,
Bundle providingBundle,
java.lang.String actions)
Creates a new requested
CapabilityPermission object to be used by
code that must perform checkPermission for the require
action. |
FrameworkEvent(int type,
Bundle bundle,
java.lang.Throwable throwable)
Creates a Framework event regarding the specified bundle.
|
PackagePermission(java.lang.String name,
Bundle exportingBundle,
java.lang.String actions)
Creates a new requested
PackagePermission object to be used by
code that must perform checkPermission for the import
action. |
SignerProperty(Bundle bundle)
Used by the permission implies method to build the properties for a
filter match.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CollisionHook.filterCollisions(int operationType,
Bundle target,
java.util.Collection<Bundle> collisionCandidates)
Filter bundle collisions hook method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CollisionHook.filterCollisions(int operationType,
Bundle target,
java.util.Collection<Bundle> collisionCandidates)
Filter bundle collisions hook method.
|
void |
FindHook.find(BundleContext context,
java.util.Collection<Bundle> bundles)
Find hook method.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Framework
A Framework instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Bundle> |
FrameworkWiring.getDependencyClosure(java.util.Collection<Bundle> bundles)
Returns the dependency closure for the specified bundles.
|
java.util.Collection<Bundle> |
FrameworkWiring.getRemovalPendingBundles()
Returns the bundles that have
non-current, in use bundle wirings. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Bundle> |
FrameworkWiring.getDependencyClosure(java.util.Collection<Bundle> bundles)
Returns the dependency closure for the specified bundles.
|
void |
FrameworkWiring.refreshBundles(java.util.Collection<Bundle> bundles,
FrameworkListener... listeners)
Refreshes the specified bundles.
|
boolean |
FrameworkWiring.resolveBundles(java.util.Collection<Bundle> bundles)
Resolves the specified bundles.
|
| Modifier and Type | Method and Description |
|---|---|
Bundle |
RequiredBundle.getBundle()
Deprecated.
Returns the bundle associated with this required bundle.
|
Bundle |
PackageAdmin.getBundle(java.lang.Class clazz)
Deprecated.
Returns the bundle from which the specified class is loaded.
|
Bundle[] |
PackageAdmin.getBundles(java.lang.String symbolicName,
java.lang.String versionRange)
Deprecated.
Returns the bundles with the specified symbolic name whose bundle version
is within the specified version range.
|
Bundle |
ExportedPackage.getExportingBundle()
Deprecated.
Returns the bundle exporting the package associated with this exported
package.
|
Bundle[] |
PackageAdmin.getFragments(Bundle bundle)
Deprecated.
Returns an array of attached fragment bundles for the specified bundle.
|
Bundle[] |
PackageAdmin.getHosts(Bundle bundle)
Deprecated.
Returns the host bundles to which the specified fragment bundle is
attached.
|
Bundle[] |
ExportedPackage.getImportingBundles()
Deprecated.
Returns the resolved bundles that are currently wired to this exported
package.
|
Bundle[] |
RequiredBundle.getRequiringBundles()
Deprecated.
Returns the bundles that currently require this required bundle.
|
| Modifier and Type | Method and Description |
|---|---|
int |
PackageAdmin.getBundleType(Bundle bundle)
Deprecated.
Returns the special type of the specified bundle.
|
ExportedPackage[] |
PackageAdmin.getExportedPackages(Bundle bundle)
Deprecated.
Gets the exported packages for the specified bundle.
|
Bundle[] |
PackageAdmin.getFragments(Bundle bundle)
Deprecated.
Returns an array of attached fragment bundles for the specified bundle.
|
Bundle[] |
PackageAdmin.getHosts(Bundle bundle)
Deprecated.
Returns the host bundles to which the specified fragment bundle is
attached.
|
void |
PackageAdmin.refreshPackages(Bundle[] bundles)
Deprecated.
Forces the update (replacement) or removal of packages exported by the
specified bundles.
|
boolean |
PackageAdmin.resolveBundles(Bundle[] bundles)
Deprecated.
Resolve the specified bundles.
|
| Modifier and Type | Method and Description |
|---|---|
int |
StartLevel.getBundleStartLevel(Bundle bundle)
Deprecated.
Return the assigned start level value for the specified Bundle.
|
boolean |
StartLevel.isBundleActivationPolicyUsed(Bundle bundle)
Deprecated.
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)
Deprecated.
Returns whether the specified bundle's autostart setting indicates the
bundle must be started.
|
void |
StartLevel.setBundleStartLevel(Bundle bundle,
int startlevel)
Deprecated.
Assign a start level value to the specified Bundle.
|
| Modifier and Type | Method and Description |
|---|---|
Bundle[] |
BundleTracker.getBundles()
Return an array of
Bundles for all bundles being tracked by this
BundleTracker. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<Bundle,T> |
BundleTracker.getTracked()
Return a
Map with the Bundles and customized objects for
all bundles being tracked by this BundleTracker. |
| Modifier and Type | Method and Description |
|---|---|
T |
BundleTracker.addingBundle(Bundle bundle,
BundleEvent event)
Default implementation of the
BundleTrackerCustomizer.addingBundle method. |
T |
BundleTrackerCustomizer.addingBundle(Bundle bundle,
BundleEvent event)
A bundle is being added to the
BundleTracker. |
(package private) T |
BundleTracker.Tracked.customizerAdding(Bundle item,
BundleEvent related)
Call the specific customizer adding method.
|
(package private) void |
BundleTracker.Tracked.customizerModified(Bundle item,
BundleEvent related,
T object)
Call the specific customizer modified method.
|
(package private) void |
BundleTracker.Tracked.customizerRemoved(Bundle item,
BundleEvent related,
T object)
Call the specific customizer removed method.
|
T |
BundleTracker.getObject(Bundle bundle)
Returns the customized object for the specified
Bundle if the
specified bundle is being tracked by this BundleTracker. |
void |
BundleTracker.modifiedBundle(Bundle bundle,
BundleEvent event,
T object)
Default implementation of the
BundleTrackerCustomizer.modifiedBundle method. |
void |
BundleTrackerCustomizer.modifiedBundle(Bundle bundle,
BundleEvent event,
T object)
A bundle tracked by the
BundleTracker has been modified. |
void |
BundleTracker.remove(Bundle bundle)
Remove a bundle from this
BundleTracker. |
void |
BundleTracker.removedBundle(Bundle bundle,
BundleEvent event,
T object)
Default implementation of the
BundleTrackerCustomizer.removedBundle method. |
void |
BundleTrackerCustomizer.removedBundle(Bundle bundle,
BundleEvent event,
T object)
A bundle tracked by the
BundleTracker has been removed. |