Class ServiceModuleType


  • public class ServiceModuleType
    extends Object

    Java class for serviceModuleType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="serviceModuleType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}environment"/>
             <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}service" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ServiceModuleType

        public ServiceModuleType()
    • Method Detail

      • setEnvironment

        public void setEnvironment​(EnvironmentType value)
        Sets the value of the environment property.
        Parameters:
        value - allowed object is EnvironmentType
      • getService

        public List<jakarta.xml.bind.JAXBElement<? extends AbstractServiceType>> getService()
        Gets the value of the service 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 service property. For example, to add a new item, do as follows:
            getService().add(newItem);
         
        Objects of the following type(s) are allowed in the list JAXBElement<GbeanType> JAXBElement<AbstractServiceType>