public class PlatformDescriptor extends ResourceDescriptor
Java class for platform complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="platform">
<complexContent>
<extension base="{urn:xmlns:rhq-plugin}resource">
<sequence>
<element ref="{urn:xmlns:rhq-plugin}server" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}service" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
ResourceDescriptor.Subcategories| Modifier and Type | Field and Description |
|---|---|
protected List<ServerDescriptor> |
servers |
protected List<ServiceDescriptor> |
services |
bundle, bundleTarget, classLoader, clazz, content, description, discovery, driftDefinition, event, help, metric, name, operation, pluginConfiguration, processScan, resourceConfiguration, runsInside, singleton, subcategories, subCategory, supportsManualAdd, version| Constructor and Description |
|---|
PlatformDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
List<ServerDescriptor> |
getServers()
Defines child server types that can be embedded in this server type.
|
List<ServiceDescriptor> |
getServices()
Defines child services that are hosted in this resource type.
|
getBundle, getBundleTarget, getClassLoader, getClazz, getContent, getDescription, getDiscovery, getDriftDefinition, getEvent, getHelp, getMetric, getName, getOperation, getOtherAttributes, getPluginConfiguration, getProcessScan, getResourceConfiguration, getRunsInside, getSubcategories, getSubCategory, getVersion, isSingleton, isSupportsManualAdd, setBundle, setBundleTarget, setClassLoader, setClazz, setDescription, setDiscovery, setHelp, setName, setPluginConfiguration, setResourceConfiguration, setRunsInside, setSingleton, setSubcategories, setSubCategory, setSupportsManualAdd, setVersionprotected List<ServerDescriptor> servers
protected List<ServiceDescriptor> services
public List<ServerDescriptor> getServers()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the servers property.
For example, to add a new item, do as follows:
getServers().add(newItem);
Objects of the following type(s) are allowed in the list
ServerDescriptor
public List<ServiceDescriptor> getServices()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the services property.
For example, to add a new item, do as follows:
getServices().add(newItem);
Objects of the following type(s) are allowed in the list
ServiceDescriptor
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.