Uses of Interface
org.osgi.service.resourcemonitoring.ResourceContext
-
Uses of ResourceContext in org.osgi.service.resourcemonitoring
Modifier and TypeMethodDescriptionResourceMonitoringService.createContext
(String name, ResourceContext template) Creates a newResourceContext
.ResourceContextEvent.getContext()
Retrieves the Resource Context associated to this eventResourceEvent.getContext()
Returns the resource context that caused the event.ResourceMonitor.getContext()
Returns the resource context that this monitor belongs toResourceMonitoringService.getContext
(long bundleId) Returns theResourceContext
associated to the provided bundle id.ResourceMonitoringService.getContext
(String name) Returns the context with the specified resource context name.ResourceMonitoringService.listContext()
Lists all availableresource contexts
.Modifier and TypeMethodDescriptionResourceMonitoringService.createContext
(String name, ResourceContext template) Creates a newResourceContext
.ResourceMonitorFactory.createResourceMonitor
(ResourceContext resourceContext) Creates a new ResourceMonitor instance.void
ResourceContext.removeBundle
(long bundleId, ResourceContext destination) Removes the bundle from this resource context.void
ResourceContext.removeContext
(ResourceContext destination) Removes a resource context.ModifierConstructorDescriptionResourceContextEvent
(int pType, ResourceContext pResourceContext) Create a new ResourceContextEvent.ResourceContextEvent
(int pType, ResourceContext pResourceContext, long pBundleId) Create a new ResourceContextEvent.ResourceEvent
(int pType, ResourceContext pContext, boolean pIsUpperThreshold, Comparable<T> pValue) Creates a new ResourceEvent.