Package org.apache.openejb.jee.oejb2
Class ServiceModuleType
- java.lang.Object
-
- org.apache.openejb.jee.oejb2.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected EnvironmentTypeenvironmentprotected List<jakarta.xml.bind.JAXBElement<? extends AbstractServiceType>>service
-
Constructor Summary
Constructors Constructor Description ServiceModuleType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentTypegetEnvironment()Gets the value of the environment property.List<jakarta.xml.bind.JAXBElement<? extends AbstractServiceType>>getService()Gets the value of the service property.voidsetEnvironment(EnvironmentType value)Sets the value of the environment property.
-
-
-
Field Detail
-
environment
protected EnvironmentType environment
-
service
protected List<jakarta.xml.bind.JAXBElement<? extends AbstractServiceType>> service
-
-
Method Detail
-
getEnvironment
public EnvironmentType getEnvironment()
Gets the value of the environment property.- Returns:
- possible object is
EnvironmentType
-
setEnvironment
public void setEnvironment(EnvironmentType value)
Sets the value of the environment property.- Parameters:
value- allowed object isEnvironmentType
-
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 asetmethod 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 listJAXBElement<GbeanType>JAXBElement<AbstractServiceType>
-
-