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

jndiName

protected java.util.List<java.lang.String> jndiName

localJndiName

protected java.util.List<java.lang.String> localJndiName

jndi

protected java.util.List<Jndi> jndi

cacheSize

protected java.lang.Integer cacheSize

tssLink

protected java.lang.String tssLink

tss

protected PatternType tss

properties

protected java.util.Properties properties

abstractNamingEntry

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

persistenceContextRef

protected java.util.List<PersistenceContextRefType> persistenceContextRef

persistenceUnitRef

protected java.util.List<PersistenceUnitRefType> persistenceUnitRef

ejbRef

protected java.util.List<EjbRefType> ejbRef

ejbLocalRef

protected java.util.List<EjbLocalRefType> ejbLocalRef

serviceRef

protected java.util.List<ServiceRefType> serviceRef

resourceRef

protected java.util.List<ResourceRefType> resourceRef

resourceEnvRef

protected java.util.List<ResourceEnvRefType> resourceEnvRef

webServiceAddress

protected java.lang.String webServiceAddress

webServiceVirtualHost

protected java.util.List<java.lang.String> webServiceVirtualHost

webServiceSecurity

protected WebServiceSecurityType webServiceSecurity

id

protected java.lang.String id
Constructor Detail

SessionBeanType

public SessionBeanType()
Method Detail

getEjbName

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

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

setEjbName

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

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

getJndiName

public java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<Jndi> getJndi()
Specified by:
getJndi in interface EnterpriseBean

getCacheSize

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

Returns:
possible object is Integer

setCacheSize

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

Parameters:
value - allowed object is Integer

getTssLink

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

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

setTssLink

public void setTssLink(java.lang.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 java.util.List<javax.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry()
Specified by:
getAbstractNamingEntry in interface EnterpriseBean

getPersistenceContextRef

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

getPersistenceUnitRef

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

getEjbRef

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

getEjbLocalRef

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

getServiceRef

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

getResourceRef

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

getResourceEnvRef

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

getWebServiceAddress

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

Returns:
possible object is String

setWebServiceAddress

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

Parameters:
value - allowed object is String

getWebServiceVirtualHost

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String

getProperties

public java.util.Properties getProperties()
Specified by:
getProperties in interface EnterpriseBean


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