Package org.apache.openejb.jee.oejb2
Class SessionBeanType
- java.lang.Object
-
- 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://tomee.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://tomee.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
Fields Modifier and Type Field Description protected List<jakarta.xml.bind.JAXBElement<? extends AbstractNamingEntryType>>abstractNamingEntryprotected IntegercacheSizeprotected List<EjbLocalRefType>ejbLocalRefprotected StringejbNameprotected List<EjbRefType>ejbRefprotected Stringidprotected List<Jndi>jndiprotected List<String>jndiNameprotected List<String>localJndiNameprotected List<PersistenceContextRefType>persistenceContextRefprotected List<PersistenceUnitRefType>persistenceUnitRefprotected Propertiespropertiesprotected List<ResourceEnvRefType>resourceEnvRefprotected List<ResourceRefType>resourceRefprotected List<ServiceRefType>serviceRefprotected PatternTypetssprotected StringtssLinkprotected StringwebServiceAddressprotected WebServiceSecurityTypewebServiceSecurityprotected List<String>webServiceVirtualHost
-
Constructor Summary
Constructors Constructor Description SessionBeanType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<jakarta.xml.bind.JAXBElement<? extends AbstractNamingEntryType>>getAbstractNamingEntry()IntegergetCacheSize()Gets the value of the cacheSize property.List<EjbLocalRefType>getEjbLocalRef()StringgetEjbName()Gets the value of the ejbName property.List<EjbRefType>getEjbRef()StringgetId()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()PropertiesgetProperties()List<ResourceEnvRefType>getResourceEnvRef()List<ResourceRefType>getResourceRef()List<ServiceRefType>getServiceRef()PatternTypegetTss()Gets the value of the tss property.StringgetTssLink()Gets the value of the tssLink property.StringgetWebServiceAddress()Gets the value of the webServiceAddress property.WebServiceSecurityTypegetWebServiceSecurity()Gets the value of the webServiceSecurity property.List<String>getWebServiceVirtualHost()Gets the value of the webServiceVirtualHost property.voidsetCacheSize(Integer value)Sets the value of the cacheSize property.voidsetEjbName(String value)Sets the value of the ejbName property.voidsetId(String value)Sets the value of the id property.voidsetTss(PatternType value)Sets the value of the tss property.voidsetTssLink(String value)Sets the value of the tssLink property.voidsetWebServiceAddress(String value)Sets the value of the webServiceAddress property.voidsetWebServiceSecurity(WebServiceSecurityType value)Sets the value of the webServiceSecurity property.
-
-
-
Field Detail
-
ejbName
protected String ejbName
-
cacheSize
protected Integer cacheSize
-
tssLink
protected String tssLink
-
tss
protected PatternType tss
-
properties
protected Properties properties
-
abstractNamingEntry
protected List<jakarta.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
-
webServiceSecurity
protected WebServiceSecurityType webServiceSecurity
-
id
protected String id
-
-
Method Detail
-
getEjbName
public String getEjbName()
Gets the value of the ejbName property.- Specified by:
getEjbNamein interfaceEnterpriseBean- Returns:
- possible object is
String
-
setEjbName
public void setEjbName(String value)
Sets the value of the ejbName property.- Specified by:
setEjbNamein interfaceEnterpriseBean- Parameters:
value- allowed object isString
-
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 asetmethod 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 listString- Specified by:
getJndiNamein interfaceEnterpriseBean- Specified by:
getJndiNamein interfaceRpcBean
-
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 asetmethod 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 listString- Specified by:
getLocalJndiNamein interfaceEnterpriseBean- Specified by:
getLocalJndiNamein interfaceRpcBean
-
getJndi
public List<Jndi> getJndi()
- Specified by:
getJndiin interfaceEnterpriseBean
-
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 isInteger
-
getTssLink
public String getTssLink()
Gets the value of the tssLink property.- Specified by:
getTssLinkin interfaceRpcBean- Returns:
- possible object is
String
-
setTssLink
public void setTssLink(String value)
Sets the value of the tssLink property.- Specified by:
setTssLinkin interfaceRpcBean- Parameters:
value- allowed object isString
-
getTss
public PatternType getTss()
Gets the value of the tss property.- Specified by:
getTssin interfaceRpcBean- Returns:
- possible object is
PatternType
-
setTss
public void setTss(PatternType value)
Sets the value of the tss property.- Specified by:
setTssin interfaceRpcBean- Parameters:
value- allowed object isPatternType
-
getAbstractNamingEntry
public List<jakarta.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry()
- Specified by:
getAbstractNamingEntryin interfaceEnterpriseBean
-
getPersistenceContextRef
public List<PersistenceContextRefType> getPersistenceContextRef()
- Specified by:
getPersistenceContextRefin interfaceEnterpriseBean
-
getPersistenceUnitRef
public List<PersistenceUnitRefType> getPersistenceUnitRef()
- Specified by:
getPersistenceUnitRefin interfaceEnterpriseBean
-
getEjbRef
public List<EjbRefType> getEjbRef()
- Specified by:
getEjbRefin interfaceEnterpriseBean
-
getEjbLocalRef
public List<EjbLocalRefType> getEjbLocalRef()
- Specified by:
getEjbLocalRefin interfaceEnterpriseBean
-
getServiceRef
public List<ServiceRefType> getServiceRef()
- Specified by:
getServiceRefin interfaceEnterpriseBean
-
getResourceRef
public List<ResourceRefType> getResourceRef()
- Specified by:
getResourceRefin interfaceEnterpriseBean
-
getResourceEnvRef
public List<ResourceEnvRefType> getResourceEnvRef()
- Specified by:
getResourceEnvRefin interfaceEnterpriseBean
-
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 isString
-
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 asetmethod 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 listString
-
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 isWebServiceSecurityType
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getProperties
public Properties getProperties()
- Specified by:
getPropertiesin interfaceEnterpriseBean
-
-