|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainMXBean
Management interface for a domain. A domain is a management unit consisting of subdomains and server pools. Domains are organized in a hierarchical fashion. Domains are named using a directory-like naming scheme. Each domain has a local name within its parent domain (e.g. "ParisDatacenter") and an absolute name (e.g. "/root/paris/ParisDatacenter").
The ObjectName for identifying a DomainMXBean follows the following template:
org.ow2.jasmine.vmm.api:type=Domain,name=<pathname>
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String key)
Returns an attribute of the domain |
java.lang.String |
getName()
Return the symbolic name of the domain |
java.util.List<ServerPoolMXBean> |
getServerPools()
Returns a list of the server pools belonging to this domain |
java.util.List<DomainMXBean> |
getSubDomains()
Returns a list of the subdomains of this domain |
VirtualMachineMXBean |
provisionVM(VMConfigSpec vmSpec,
java.util.Map<java.lang.String,java.lang.String> constraints,
boolean sync)
Provisions a new virtual machine. |
Methods inherited from interface org.ow2.jasmine.vmm.api.ManagedResourceMXBean |
---|
getObjectName, getPath |
Method Detail |
---|
java.lang.String getName()
java.lang.String getAttribute(java.lang.String key)
VirtualMachineMXBean provisionVM(VMConfigSpec vmSpec, java.util.Map<java.lang.String,java.lang.String> constraints, boolean sync) throws InsufficientResourcesException, InvalidVMConfigException
vmSpec
- initial configuration of the virtual machineconstraints
- contraints on the placement of the VMsync
- if true the call will return once the VM has been created
InsufficientResourcesException
- raised if not enough resources are
available to create the VM
InvalidVMConfigException
- raised if the VM configuration is
invalidjava.util.List<ServerPoolMXBean> getServerPools()
java.util.List<DomainMXBean> getSubDomains()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |