org.rhq.core.clientapi.descriptor.plugin
Class PlatformDescriptor

java.lang.Object
  extended by org.rhq.core.clientapi.descriptor.plugin.ResourceDescriptor
      extended by org.rhq.core.clientapi.descriptor.plugin.PlatformDescriptor

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>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.rhq.core.clientapi.descriptor.plugin.ResourceDescriptor
ResourceDescriptor.Subcategories
 
Field Summary
protected  List<ServerDescriptor> servers
           
protected  List<ServiceDescriptor> services
           
 
Fields inherited from class org.rhq.core.clientapi.descriptor.plugin.ResourceDescriptor
classLoader, clazz, content, description, discovery, event, help, metric, name, operation, pluginConfiguration, processScan, resourceConfiguration, runsInside, singleton, subcategories, subCategory, supportsManualAdd, version
 
Constructor Summary
PlatformDescriptor()
           
 
Method Summary
 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.
 
Methods inherited from class org.rhq.core.clientapi.descriptor.plugin.ResourceDescriptor
getClassLoader, getClazz, getContent, getDescription, getDiscovery, getEvent, getHelp, getMetric, getName, getOperation, getOtherAttributes, getPluginConfiguration, getProcessScan, getResourceConfiguration, getRunsInside, getSubcategories, getSubCategory, getVersion, isSingleton, isSupportsManualAdd, setClassLoader, setClazz, setDescription, setDiscovery, setHelp, setName, setPluginConfiguration, setResourceConfiguration, setRunsInside, setSingleton, setSubcategories, setSubCategory, setSupportsManualAdd, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servers

protected List<ServerDescriptor> servers

services

protected List<ServiceDescriptor> services
Constructor Detail

PlatformDescriptor

public PlatformDescriptor()
Method Detail

getServers

public List<ServerDescriptor> getServers()
Defines child server types that can be embedded in this server type. Gets the value of the servers property.

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


getServices

public List<ServiceDescriptor> getServices()
Defines child services that are hosted in this resource type. Gets the value of the services property.

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-2009 Red Hat, Inc.. All Rights Reserved.