org.apache.openejb.jee.oejb2
Class SessionBeanType

java.lang.Object
  extended by org.apache.openejb.jee.oejb2.SessionBeanType
All Implemented Interfaces:
EnterpriseBean, RpcBean

public class SessionBeanType
extends Object
implements EnterpriseBean, RpcBean

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  List<javax.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> abstractNamingEntry
           
protected  Integer cacheSize
           
protected  List<EjbLocalRefType> ejbLocalRef
           
protected  String ejbName
           
protected  List<EjbRefType> ejbRef
           
protected  String id
           
protected  List<Jndi> jndi
           
protected  List<String> jndiName
           
protected  List<String> localJndiName
           
protected  List<PersistenceContextRefType> persistenceContextRef
           
protected  List<PersistenceUnitRefType> persistenceUnitRef
           
protected  List<ResourceEnvRefType> resourceEnvRef
           
protected  List<ResourceRefType> resourceRef
           
protected  List<ServiceRefType> serviceRef
           
protected  PatternType tss
           
protected  String tssLink
           
protected  String webServiceAddress
           
protected  WebServiceSecurityType webServiceSecurity
           
protected  List<String> webServiceVirtualHost
           
 
Constructor Summary
SessionBeanType()
           
 
Method Summary
 List<javax.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry()
           
 Integer getCacheSize()
          Gets the value of the cacheSize property.
 List<EjbLocalRefType> getEjbLocalRef()
           
 String getEjbName()
          Gets the value of the ejbName property.
 List<EjbRefType> getEjbRef()
           
 String getId()
          Gets the value of the id property.
 List<Jndi> getJndi()
           
 List<String> getJndiName()
          Gets the value of the jndiName property.
 List<String> getLocalJndiName()
          Gets the value of the localJndiName property.
 List<PersistenceContextRefType> getPersistenceContextRef()
           
 List<PersistenceUnitRefType> getPersistenceUnitRef()
           
 List<ResourceEnvRefType> getResourceEnvRef()
           
 List<ResourceRefType> getResourceRef()
           
 List<ServiceRefType> getServiceRef()
           
 PatternType getTss()
          Gets the value of the tss property.
 String getTssLink()
          Gets the value of the tssLink property.
 String getWebServiceAddress()
          Gets the value of the webServiceAddress property.
 WebServiceSecurityType getWebServiceSecurity()
          Gets the value of the webServiceSecurity property.
 List<String> getWebServiceVirtualHost()
          Gets the value of the webServiceVirtualHost property.
 void setCacheSize(Integer value)
          Sets the value of the cacheSize property.
 void setEjbName(String value)
          Sets the value of the ejbName property.
 void setId(String value)
          Sets the value of the id property.
 void setTss(PatternType value)
          Sets the value of the tss property.
 void setTssLink(String value)
          Sets the value of the tssLink property.
 void setWebServiceAddress(String value)
          Sets the value of the webServiceAddress property.
 void setWebServiceSecurity(WebServiceSecurityType value)
          Sets the value of the webServiceSecurity property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejbName

protected String ejbName

jndiName

protected List<String> jndiName

localJndiName

protected List<String> localJndiName

jndi

protected List<Jndi> jndi

cacheSize

protected Integer cacheSize

tssLink

protected String tssLink

tss

protected PatternType tss

abstractNamingEntry

protected List<javax.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> abstractNamingEntry

persistenceContextRef

protected List<PersistenceContextRefType> persistenceContextRef

persistenceUnitRef

protected List<PersistenceUnitRefType> persistenceUnitRef

ejbRef

protected List<EjbRefType> ejbRef

ejbLocalRef

protected List<EjbLocalRefType> ejbLocalRef

serviceRef

protected List<ServiceRefType> serviceRef

resourceRef

protected List<ResourceRefType> resourceRef

resourceEnvRef

protected List<ResourceEnvRefType> resourceEnvRef

webServiceAddress

protected String webServiceAddress

webServiceVirtualHost

protected List<String> webServiceVirtualHost

webServiceSecurity

protected WebServiceSecurityType webServiceSecurity

id

protected String id
Constructor Detail

SessionBeanType

public SessionBeanType()
Method Detail

getEjbName

public String getEjbName()
Gets the value of the ejbName property.

Specified by:
getEjbName in interface EnterpriseBean
Returns:
possible object is String

setEjbName

public void setEjbName(String value)
Sets the value of the ejbName property.

Specified by:
setEjbName in interface EnterpriseBean
Parameters:
value - allowed object is String

getJndiName

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

Specified by:
getJndiName in interface EnterpriseBean
Specified by:
getJndiName in interface RpcBean

getLocalJndiName

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

Specified by:
getLocalJndiName in interface EnterpriseBean
Specified by:
getLocalJndiName in interface RpcBean

getJndi

public List<Jndi> getJndi()
Specified by:
getJndi in interface EnterpriseBean

getCacheSize

public Integer getCacheSize()
Gets the value of the cacheSize property.

Returns:
possible object is Integer

setCacheSize

public void setCacheSize(Integer value)
Sets the value of the cacheSize property.

Parameters:
value - allowed object is Integer

getTssLink

public String getTssLink()
Gets the value of the tssLink property.

Specified by:
getTssLink in interface RpcBean
Returns:
possible object is String

setTssLink

public void setTssLink(String value)
Sets the value of the tssLink property.

Specified by:
setTssLink in interface RpcBean
Parameters:
value - allowed object is String

getTss

public PatternType getTss()
Gets the value of the tss property.

Specified by:
getTss in interface RpcBean
Returns:
possible object is PatternType

setTss

public void setTss(PatternType value)
Sets the value of the tss property.

Specified by:
setTss in interface RpcBean
Parameters:
value - allowed object is PatternType

getAbstractNamingEntry

public List<javax.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry()
Specified by:
getAbstractNamingEntry in interface EnterpriseBean

getPersistenceContextRef

public List<PersistenceContextRefType> getPersistenceContextRef()
Specified by:
getPersistenceContextRef in interface EnterpriseBean

getPersistenceUnitRef

public List<PersistenceUnitRefType> getPersistenceUnitRef()
Specified by:
getPersistenceUnitRef in interface EnterpriseBean

getEjbRef

public List<EjbRefType> getEjbRef()
Specified by:
getEjbRef in interface EnterpriseBean

getEjbLocalRef

public List<EjbLocalRefType> getEjbLocalRef()
Specified by:
getEjbLocalRef in interface EnterpriseBean

getServiceRef

public List<ServiceRefType> getServiceRef()
Specified by:
getServiceRef in interface EnterpriseBean

getResourceRef

public List<ResourceRefType> getResourceRef()
Specified by:
getResourceRef in interface EnterpriseBean

getResourceEnvRef

public List<ResourceEnvRefType> getResourceEnvRef()
Specified by:
getResourceEnvRef in interface EnterpriseBean

getWebServiceAddress

public String getWebServiceAddress()
Gets the value of the webServiceAddress property.

Returns:
possible object is String

setWebServiceAddress

public void setWebServiceAddress(String value)
Sets the value of the webServiceAddress property.

Parameters:
value - allowed object is String

getWebServiceVirtualHost

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


getWebServiceSecurity

public WebServiceSecurityType getWebServiceSecurity()
Gets the value of the webServiceSecurity property.

Returns:
possible object is WebServiceSecurityType

setWebServiceSecurity

public void setWebServiceSecurity(WebServiceSecurityType value)
Sets the value of the webServiceSecurity property.

Parameters:
value - allowed object is WebServiceSecurityType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


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