Uses of Class
org.osgi.service.resourcemonitoring.ResourceContextException
-
Uses of ResourceContextException in org.osgi.service.resourcemonitoring
Modifier and TypeMethodDescriptionvoid
ResourceContext.addBundle
(long bundleId) Adds a bundle to the resource context.void
ResourceContext.addResourceMonitor
(ResourceMonitor<?> resourceMonitor) Adds a new ResourceMonitor instance monitoring resource for this resource context.ResourceContext.getMonitor
(String resourceType) Returns a ResourceMonitor instance for the specified resource type.ResourceMonitor<?>[]
ResourceContext.getMonitors()
Retrieves all the existing ResourceMonitor belonging to this context.void
ResourceContext.removeBundle
(long bundleId) Removes the bundle identified by bundleId from the Resource Context.void
ResourceContext.removeBundle
(long bundleId, ResourceContext destination) Removes the bundle from this resource context.void
ResourceContext.removeContext
(ResourceContext destination) Removes a resource context.void
ResourceContext.removeResourceMonitor
(ResourceMonitor<?> resourceMonitor) Removes a ResourceMonitor instance from the context.