Package | Description |
---|---|
org.osgi.service.resourcemonitoring |
Resource Monitoring Package Version 1.0.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
ResourceMonitor |
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.
|
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0