Package | Description |
---|---|
org.osgi.service.resourcemonitoring |
Resource Monitoring Package Version 1.0.
|
Modifier and Type | Method and Description |
---|---|
ResourceContext |
ResourceMonitoringService.createContext(String name,
ResourceContext template)
Creates a new
ResourceContext . |
ResourceContext |
ResourceMonitor.getContext()
Returns the resource context that this monitor belongs to
|
ResourceContext |
ResourceContextEvent.getContext()
Retrieves the Resource Context associated to this event
|
ResourceContext |
ResourceEvent.getContext()
Returns the resource context that caused the event.
|
ResourceContext |
ResourceMonitoringService.getContext(long bundleId)
Returns the
ResourceContext associated to the provided bundle id. |
ResourceContext |
ResourceMonitoringService.getContext(String name)
Returns the context with the specified resource context name.
|
ResourceContext[] |
ResourceMonitoringService.listContext()
Lists all available
resource contexts . |
Modifier and Type | Method and Description |
---|---|
ResourceContext |
ResourceMonitoringService.createContext(String name,
ResourceContext template)
Creates a new
ResourceContext . |
ResourceMonitor |
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.
|
Constructor and Description |
---|
ResourceContextEvent(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 pValue)
Creates a new ResourceEvent.
|
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0