Save This Page
Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.jee.openejb » [javadoc | source]
org.apache.geronimo.jee.openejb
public class: SessionBean [javadoc | source]
java.lang.Object
   org.apache.geronimo.jee.openejb.SessionBean

All Implemented Interfaces:
    Serializable

Java class for session-beanType complex type.

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

<complexType name="session-beanType">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
        <element name="jndi-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
        <element name="local-jndi-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
        <element name="cache-size" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
        <group ref="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}tssGroup" minOccurs="0"/>
        <group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}jndiEnvironmentRefsGroup"/>
        <element name="web-service-address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <element name="web-service-virtual-host" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
        <element name="web-service-security" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}web-service-securityType" minOccurs="0"/>
      </sequence>
      <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
    </restriction>
  </complexContent>
</complexType>
Field Summary
protected  String ejbName     
protected  List<String> jndiName     
protected  List<String> localJndiName     
protected  Integer cacheSize     
protected  String tssLink     
protected  Pattern tss     
protected  List<AbstractNamingEntry> abstractNamingEntry     
protected  List<EjbRef> ejbRef     
protected  List<EjbLocalRef> ejbLocalRef     
protected  List<ServiceRef> serviceRef     
protected  List<ResourceRef> resourceRef     
protected  List<ResourceEnvRef> resourceEnvRef     
protected  String webServiceAddress     
protected  List<String> webServiceVirtualHost     
protected  WebServiceSecurity webServiceSecurity     
protected  String id     
Method from org.apache.geronimo.jee.openejb.SessionBean Summary:
getAbstractNamingEntry,   getCacheSize,   getEjbLocalRef,   getEjbName,   getEjbRef,   getId,   getJndiName,   getLocalJndiName,   getResourceEnvRef,   getResourceRef,   getServiceRef,   getTss,   getTssLink,   getWebServiceAddress,   getWebServiceSecurity,   getWebServiceVirtualHost,   setCacheSize,   setEjbName,   setId,   setTss,   setTssLink,   setWebServiceAddress,   setWebServiceSecurity
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.jee.openejb.SessionBean Detail:
 public List<AbstractNamingEntry> getAbstractNamingEntry() 
    Gets the value of the abstractNamingEntry 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 abstractNamingEntry property.

    For example, to add a new item, do as follows:

       getAbstractNamingEntry().add(newItem);
    

    Objects of the following type(s) are allowed in the list JAXBElement {@code <}PersistenceContextRef {@code >} JAXBElement {@code <}AbstractNamingEntry {@code >} JAXBElement {@code <}GbeanRef {@code >} JAXBElement {@code <}PersistenceUnitRef {@code >}

 public Integer getCacheSize() 
    Gets the value of the cacheSize property.
 public List<EjbLocalRef> getEjbLocalRef() 
    Gets the value of the ejbLocalRef 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 ejbLocalRef property.

    For example, to add a new item, do as follows:

       getEjbLocalRef().add(newItem);
    

    Objects of the following type(s) are allowed in the list EjbLocalRef

 public String getEjbName() 
    Gets the value of the ejbName property.
 public List<EjbRef> getEjbRef() 
    Gets the value of the ejbRef 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 ejbRef property.

    For example, to add a new item, do as follows:

       getEjbRef().add(newItem);
    

    Objects of the following type(s) are allowed in the list EjbRef

 public String getId() 
    Gets the value of the id property.
 public List<String> getJndiName() 
    Gets the value of the jndiName 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 jndiName property.

    For example, to add a new item, do as follows:

       getJndiName().add(newItem);
    

    Objects of the following type(s) are allowed in the list String

 public List<String> getLocalJndiName() 
    Gets the value of the localJndiName 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 localJndiName property.

    For example, to add a new item, do as follows:

       getLocalJndiName().add(newItem);
    

    Objects of the following type(s) are allowed in the list String

 public List<ResourceEnvRef> getResourceEnvRef() 
    Gets the value of the resourceEnvRef 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 resourceEnvRef property.

    For example, to add a new item, do as follows:

       getResourceEnvRef().add(newItem);
    

    Objects of the following type(s) are allowed in the list ResourceEnvRef

 public List<ResourceRef> getResourceRef() 
    Gets the value of the resourceRef 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 resourceRef property.

    For example, to add a new item, do as follows:

       getResourceRef().add(newItem);
    

    Objects of the following type(s) are allowed in the list ResourceRef

 public List<ServiceRef> getServiceRef() 
    Gets the value of the serviceRef 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 serviceRef property.

    For example, to add a new item, do as follows:

       getServiceRef().add(newItem);
    

    Objects of the following type(s) are allowed in the list ServiceRef

 public Pattern getTss() 
    Gets the value of the tss property.
 public String getTssLink() 
    Gets the value of the tssLink property.
 public String getWebServiceAddress() 
    Gets the value of the webServiceAddress property.
 public WebServiceSecurity getWebServiceSecurity() 
    Gets the value of the webServiceSecurity property.
 public List<String> getWebServiceVirtualHost() 
    Gets the value of the webServiceVirtualHost 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 webServiceVirtualHost property.

    For example, to add a new item, do as follows:

       getWebServiceVirtualHost().add(newItem);
    

    Objects of the following type(s) are allowed in the list String

 public  void setCacheSize(Integer value) 
    Sets the value of the cacheSize property.
 public  void setEjbName(String value) 
    Sets the value of the ejbName property.
 public  void setId(String value) 
    Sets the value of the id property.
 public  void setTss(Pattern value) 
    Sets the value of the tss property.
 public  void setTssLink(String value) 
    Sets the value of the tssLink property.
 public  void setWebServiceAddress(String value) 
    Sets the value of the webServiceAddress property.
 public  void setWebServiceSecurity(WebServiceSecurity value) 
    Sets the value of the webServiceSecurity property.