public class SessionBean extends Object implements RemoteBean, Session, TimerConsumer
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>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="ejb-name" type="{http://java.sun.com/xml/ns/javaee}ejb-nameType"/>
<element name="mapped-name" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/>
<element name="home" type="{http://java.sun.com/xml/ns/javaee}homeType" minOccurs="0"/>
<element name="remote" type="{http://java.sun.com/xml/ns/javaee}remoteType" minOccurs="0"/>
<element name="local-home" type="{http://java.sun.com/xml/ns/javaee}local-homeType" minOccurs="0"/>
<element name="local" type="{http://java.sun.com/xml/ns/javaee}localType" minOccurs="0"/>
<element name="business-local" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" maxOccurs="unbounded" minOccurs="0"/>
<element name="business-remote" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" maxOccurs="unbounded" minOccurs="0"/>
<element name="local-bean" type="{http://java.sun.com/xml/ns/javaee}emptyType" minOccurs="0"/>
<element name="service-endpoint" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
<element name="ejb-class" type="{http://java.sun.com/xml/ns/javaee}ejb-classType" minOccurs="0"/>
<element name="session-type" type="{http://java.sun.com/xml/ns/javaee}session-typeType" minOccurs="0"/>
<element name="stateful-timeout" type="{http://java.sun.com/xml/ns/javaee}stateful-timeoutType" minOccurs="0"/>
<element name="timeout-method" type="{http://java.sun.com/xml/ns/javaee}named-methodType" minOccurs="0"/>
<element name="timer" type="{http://java.sun.com/xml/ns/javaee}timerType" maxOccurs="unbounded" minOccurs="0"/>
<element name="init-on-startup" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/>
<element name="concurrency-management-type" type="{http://java.sun.com/xml/ns/javaee}concurrency-management-typeType" minOccurs="0"/>
<element name="concurrent-method" type="{http://java.sun.com/xml/ns/javaee}concurrent-methodType" maxOccurs="unbounded" minOccurs="0"/>
<element name="depends-on" type="{http://java.sun.com/xml/ns/javaee}depends-onType" minOccurs="0"/>
<element name="init-method" type="{http://java.sun.com/xml/ns/javaee}init-methodType" maxOccurs="unbounded" minOccurs="0"/>
<element name="remove-method" type="{http://java.sun.com/xml/ns/javaee}remove-methodType" maxOccurs="unbounded" minOccurs="0"/>
<element name="async-method" type="{http://java.sun.com/xml/ns/javaee}async-methodType" maxOccurs="unbounded" minOccurs="0"/>
<element name="transaction-type" type="{http://java.sun.com/xml/ns/javaee}transaction-typeType" minOccurs="0"/>
<element name="after-begin-method" type="{http://java.sun.com/xml/ns/javaee}named-methodType" minOccurs="0"/>
<element name="before-completion-method" type="{http://java.sun.com/xml/ns/javaee}named-methodType" minOccurs="0"/>
<element name="after-completion-method" type="{http://java.sun.com/xml/ns/javaee}named-methodType" minOccurs="0"/>
<element name="around-invoke" type="{http://java.sun.com/xml/ns/javaee}around-invokeType" maxOccurs="unbounded" minOccurs="0"/>
<element name="around-timeout" type="{http://java.sun.com/xml/ns/javaee}around-timeoutType" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://java.sun.com/xml/ns/javaee}jndiEnvironmentRefsGroup"/>
<element name="post-activate" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
<element name="pre-passivate" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
<element name="security-role-ref" type="{http://java.sun.com/xml/ns/javaee}security-role-refType" maxOccurs="unbounded" minOccurs="0"/>
<element name="security-identity" type="{http://java.sun.com/xml/ns/javaee}security-identityType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SessionBean() |
SessionBean(String ejbName,
String ejbClass,
SessionType sessionType) |
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected String ejbName
protected String mappedName
protected String home
protected String remote
protected String localHome
protected String local
protected LinkedHashSet<String> businessLocal
protected LinkedHashSet<String> businessRemote
protected Empty localBean
protected String serviceEndpoint
protected String ejbClass
protected SessionType sessionType
protected Timeout statefulTimeout
protected NamedMethod timeoutMethod
protected Boolean initOnStartup
protected Boolean passivationCapable
protected ConcurrencyManagementType concurrencyManagementType
protected List<ConcurrentMethod> concurrentMethod
protected List<InitMethod> initMethod
protected List<RemoveMethod> removeMethod
protected List<AsyncMethod> asyncMethod
protected TransactionType transactionType
protected NamedMethod afterBeginMethod
protected NamedMethod beforeCompletionMethod
protected NamedMethod afterCompletionMethod
protected List<AroundInvoke> aroundInvoke
protected List<AroundTimeout> aroundTimeout
protected KeyedCollection<String,EnvEntry> envEntry
protected KeyedCollection<String,EjbRef> ejbRef
protected KeyedCollection<String,EjbLocalRef> ejbLocalRef
protected KeyedCollection<String,ServiceRef> serviceRef
protected KeyedCollection<String,ResourceRef> resourceRef
protected KeyedCollection<String,ResourceEnvRef> resourceEnvRef
protected KeyedCollection<String,MessageDestinationRef> messageDestinationRef
protected KeyedCollection<String,PersistenceContextRef> persistenceContextRef
protected KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef
protected List<LifecycleCallback> postConstruct
protected List<LifecycleCallback> preDestroy
protected KeyedCollection<String,DataSource> dataSource
protected KeyedCollection<String,JMSConnectionFactory> jmsConnectionFactories
protected KeyedCollection<String,JMSDestination> jmsDestinations
protected List<LifecycleCallback> postActivate
protected List<LifecycleCallback> prePassivate
protected List<SecurityRoleRef> securityRoleRef
protected SecurityIdentity securityIdentity
protected String id
public SessionBean()
public SessionBean(String ejbName, String ejbClass, SessionType sessionType)
public String getJndiConsumerName()
getJndiConsumerName in interface JndiConsumerpublic Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public String getDisplayName()
public Collection<Icon> getIcons()
public Icon getIcon()
public String getEjbName()
getEjbName in interface EnterpriseBeanpublic void setEjbName(String value)
setEjbName in interface EnterpriseBeanpublic String getMappedName()
getMappedName in interface EnterpriseBeanpublic void setMappedName(String value)
setMappedName in interface EnterpriseBeanpublic String getHome()
getHome in interface RemoteBeanpublic void setHome(String value)
setHome in interface RemoteBeanpublic String getRemote()
getRemote in interface RemoteBeanpublic void setRemote(String value)
setRemote in interface RemoteBeanpublic String getLocalHome()
getLocalHome in interface RemoteBeanpublic void setLocalHome(String value)
setLocalHome in interface RemoteBeanpublic String getLocal()
getLocal in interface RemoteBeanpublic void setLocal(String value)
setLocal in interface RemoteBeanpublic Collection<String> getBusinessLocal()
getBusinessLocal in interface RemoteBeanpublic void addBusinessLocal(String businessLocal)
public void addBusinessLocal(Class businessLocal)
public Collection<String> getBusinessRemote()
getBusinessRemote in interface RemoteBeanpublic void addBusinessRemote(String businessRemote)
public void addBusinessRemote(Class businessRemote)
public Empty getLocalBean()
public void setLocalBean(Empty localBean)
public String getServiceEndpoint()
public void setServiceEndpoint(String value)
public String getEjbClass()
getEjbClass in interface EnterpriseBeanpublic void setEjbClass(String value)
setEjbClass in interface EnterpriseBeanpublic void setEjbClass(Class value)
setEjbClass in interface EnterpriseBeanpublic SessionType getSessionType()
public void setSessionType(SessionType value)
public NamedMethod getTimeoutMethod()
getTimeoutMethod in interface TimerConsumerpublic void setTimeoutMethod(NamedMethod value)
setTimeoutMethod in interface TimerConsumerpublic List<InitMethod> getInitMethod()
getInitMethod in interface Sessionpublic List<RemoveMethod> getRemoveMethod()
getRemoveMethod in interface Sessionpublic TransactionType getTransactionType()
getTransactionType in interface EnterpriseBeanpublic void setTransactionType(TransactionType value)
setTransactionType in interface EnterpriseBeanpublic NamedMethod getAfterBeginMethod()
public void setAfterBeginMethod(NamedMethod afterBeginMethod)
public NamedMethod getBeforeCompletionMethod()
public void setBeforeCompletionMethod(NamedMethod beforeCompletionMethod)
public NamedMethod getAfterCompletionMethod()
public void setAfterCompletionMethod(NamedMethod afterCompletionMethod)
public List<AroundInvoke> getAroundInvoke()
getAroundInvoke in interface Invokablepublic void addAroundInvoke(String method)
addAroundInvoke in interface Invokablepublic Collection<EnvEntry> getEnvEntry()
getEnvEntry in interface JndiConsumerpublic Map<String,EnvEntry> getEnvEntryMap()
getEnvEntryMap in interface JndiConsumerpublic Collection<EjbRef> getEjbRef()
getEjbRef in interface JndiConsumerpublic Map<String,EjbRef> getEjbRefMap()
getEjbRefMap in interface JndiConsumerpublic Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef in interface JndiConsumerpublic Map<String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap in interface JndiConsumerpublic Collection<ServiceRef> getServiceRef()
getServiceRef in interface JndiConsumerpublic Map<String,ServiceRef> getServiceRefMap()
getServiceRefMap in interface JndiConsumerpublic Collection<ResourceRef> getResourceRef()
getResourceRef in interface JndiConsumerpublic Map<String,ResourceRef> getResourceRefMap()
getResourceRefMap in interface JndiConsumerpublic Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef in interface JndiConsumerpublic Map<String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap in interface JndiConsumerpublic Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef in interface JndiConsumerpublic Map<String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap in interface JndiConsumerpublic Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef in interface JndiConsumerpublic Map<String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap in interface JndiConsumerpublic Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef in interface JndiConsumerpublic Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap in interface JndiConsumerpublic List<LifecycleCallback> getPostConstruct()
getPostConstruct in interface Lifecyclepublic void addPostConstruct(String method)
addPostConstruct in interface Lifecyclepublic List<LifecycleCallback> getPreDestroy()
getPreDestroy in interface Lifecyclepublic void addPreDestroy(String method)
addPreDestroy in interface Lifecyclepublic List<LifecycleCallback> getPostActivate()
getPostActivate in interface Sessionpublic void addPostActivate(String method)
addPostActivate in interface Sessionpublic List<LifecycleCallback> getPrePassivate()
getPrePassivate in interface Sessionpublic void addPrePassivate(String method)
addPrePassivate in interface Sessionpublic List<SecurityRoleRef> getSecurityRoleRef()
getSecurityRoleRef in interface EnterpriseBeanpublic SecurityIdentity getSecurityIdentity()
getSecurityIdentity in interface EnterpriseBeanpublic void setSecurityIdentity(SecurityIdentity value)
setSecurityIdentity in interface EnterpriseBeanpublic void setDependsOn(String... ejbNames)
public boolean hasInitOnStartup()
public boolean getInitOnStartup()
public void setInitOnStartup(boolean initOnStartup)
public String getId()
getId in interface EnterpriseBeanpublic void setId(String value)
setId in interface EnterpriseBeanpublic Timeout getStatefulTimeout()
public void setStatefulTimeout(Timeout statefulTimeout)
public List<AroundTimeout> getAroundTimeout()
getAroundTimeout in interface Invokablepublic List<AsyncMethod> getAsyncMethod()
public ConcurrencyManagementType getConcurrencyManagementType()
public void setConcurrencyManagementType(ConcurrencyManagementType concurrencyManagementType)
public List<ConcurrentMethod> getConcurrentMethod()
public void addAfterBegin(String method)
addAfterBegin in interface Sessionpublic void addAfterCompletion(String method)
addAfterCompletion in interface Sessionpublic void addBeforeCompletion(String method)
addBeforeCompletion in interface Sessionpublic List<LifecycleCallback> getAfterBegin()
getAfterBegin in interface Sessionpublic List<LifecycleCallback> getAfterCompletion()
getAfterCompletion in interface Sessionpublic List<LifecycleCallback> getBeforeCompletion()
getBeforeCompletion in interface Sessionpublic Collection<DataSource> getDataSource()
getDataSource in interface JndiConsumerpublic Map<String,DataSource> getDataSourceMap()
getDataSourceMap in interface JndiConsumerpublic List<Timer> getTimer()
getTimer in interface TimerConsumerpublic void addAroundTimeout(String method)
addAroundTimeout in interface Invokablepublic void addAsynchronousClass(String cls)
public String getTimerConsumerName()
getTimerConsumerName in interface TimerConsumerpublic boolean isRestService()
public void setRestService(boolean restService)
public void setProxy(String name)
public String getProxy()
public Collection<String> getParents()
public EnterpriseBean localBean()
public Boolean getPassivationCapable()
public void setPassivationCapable(Boolean passivationCapable)
public Collection<JMSConnectionFactory> getJMSConnectionFactories()
getJMSConnectionFactories in interface JndiConsumerpublic Map<String,JMSConnectionFactory> getJMSConnectionFactoriesMap()
getJMSConnectionFactoriesMap in interface JndiConsumerpublic Collection<JMSDestination> getJMSDestination()
getJMSDestination in interface JndiConsumerpublic Map<String,JMSDestination> getJMSDestinationMap()
getJMSDestinationMap in interface JndiConsumerCopyright © 1999–2020 The Apache Software Foundation. All rights reserved.