org.apache.openejb.jee.oejb2
Class ServiceModuleType

java.lang.Object
  extended by 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
protected  EnvironmentType environment
           
protected  List<javax.xml.bind.JAXBElement<? extends AbstractServiceType>> service
           
 
Constructor Summary
ServiceModuleType()
           
 
Method Summary
 EnvironmentType getEnvironment()
          Gets the value of the environment property.
 List<javax.xml.bind.JAXBElement<? extends AbstractServiceType>> getService()
          Gets the value of the service property.
 void setEnvironment(EnvironmentType value)
          Sets the value of the environment property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

environment

protected EnvironmentType environment

service

protected List<javax.xml.bind.JAXBElement<? extends AbstractServiceType>> service
Constructor Detail

ServiceModuleType

public ServiceModuleType()
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 is EnvironmentType

getService

public List<javax.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>



Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.