|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComputeResourceManager
The ComputeResourceManager provides the capabilities to access, set and obtain information on ComputeResource mechanisms
| Method Summary | |
|---|---|
PlatformCapability |
addPlatformCapability(String className,
URL location,
Map<String,Object> mapping)
Add a PlatformCapability. |
ComputeResource |
getComputeResource()
Get the ComputeResource object |
MeasurableCapability[] |
getMatchedMeasurableCapabilities()
Get the MeasurableCapability instances that match declared SLAs. |
PlatformCapability[] |
getMatchedPlatformCapabilities()
Get the PlatformCapability instances that match declared system requirements |
PlatformCapability |
getPlatformCapability(String description)
Get a PlatformCapability instance from a name |
boolean |
removePlatformCapability(PlatformCapability pCap)
Remove a PlatformCapability that was added by the ServiceBean. |
| Method Detail |
|---|
ComputeResource getComputeResource()
PlatformCapability getPlatformCapability(String description)
description - The name of the PlatformCapability
PlatformCapability[] getMatchedPlatformCapabilities()
PlatformCapability addPlatformCapability(String className,
URL location,
Map<String,Object> mapping)
className - The class name of the PlatformCapability. This name
must be suitable for Class.forName uselocation - An URL indicating where to load the PlatformCapability
from. If this parmater is null, the PlatformCapability will be loaded
from platform-capabilities.jarmapping - The Map of name,value pairs the PlatformCapability will
set
boolean removePlatformCapability(PlatformCapability pCap)
pCap - The PlatformCapability to remove
MeasurableCapability[] getMatchedMeasurableCapabilities()
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||