org.apache.openejb.jee
Class SessionBean
java.lang.Object
org.apache.openejb.jee.SessionBean
- All Implemented Interfaces:
- EnterpriseBean, Invokable, JndiConsumer, Lifecycle, RemoteBean, Session, TimerConsumer
- Direct Known Subclasses:
- ManagedBean, SingletonBean, StatefulBean, StatelessBean
public class SessionBean
- extends Object
- implements RemoteBean, Session, TimerConsumer
ejb-jar_3_1.xsd
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>
|
Field Summary |
protected NamedMethod |
afterBeginMethod
|
protected NamedMethod |
afterCompletionMethod
|
protected List<AroundInvoke> |
aroundInvoke
|
protected List<AroundTimeout> |
aroundTimeout
|
protected List<AsyncMethod> |
asyncMethod
|
protected NamedMethod |
beforeCompletionMethod
|
protected LinkedHashSet<String> |
businessLocal
|
protected LinkedHashSet<String> |
businessRemote
|
protected ConcurrencyManagementType |
concurrencyManagementType
|
protected List<ConcurrentMethod> |
concurrentMethod
|
protected KeyedCollection<String,DataSource> |
dataSource
|
protected List<String> |
dependsOn
|
protected TextMap |
description
|
protected TextMap |
displayName
|
protected String |
ejbClass
|
protected KeyedCollection<String,EjbLocalRef> |
ejbLocalRef
|
protected String |
ejbName
|
protected KeyedCollection<String,EjbRef> |
ejbRef
|
protected KeyedCollection<String,EnvEntry> |
envEntry
|
protected String |
home
|
protected LocalCollection<Icon> |
icon
|
protected String |
id
|
protected List<InitMethod> |
initMethod
|
protected Boolean |
initOnStartup
|
protected String |
local
|
protected Empty |
localBean
|
protected String |
localHome
|
protected String |
mappedName
|
protected KeyedCollection<String,MessageDestinationRef> |
messageDestinationRef
|
protected KeyedCollection<String,PersistenceContextRef> |
persistenceContextRef
|
protected KeyedCollection<String,PersistenceUnitRef> |
persistenceUnitRef
|
protected List<LifecycleCallback> |
postActivate
|
protected List<LifecycleCallback> |
postConstruct
|
protected List<LifecycleCallback> |
preDestroy
|
protected List<LifecycleCallback> |
prePassivate
|
protected String |
remote
|
protected List<RemoveMethod> |
removeMethod
|
protected KeyedCollection<String,ResourceEnvRef> |
resourceEnvRef
|
protected KeyedCollection<String,ResourceRef> |
resourceRef
|
protected SecurityIdentity |
securityIdentity
|
protected List<SecurityRoleRef> |
securityRoleRef
|
protected String |
serviceEndpoint
|
protected KeyedCollection<String,ServiceRef> |
serviceRef
|
protected SessionType |
sessionType
|
protected Timeout |
statefulTimeout
|
protected NamedMethod |
timeoutMethod
|
protected List<Timer> |
timer
|
protected TransactionType |
transactionType
|
|
Method Summary |
void |
addAfterBegin(String method)
|
void |
addAfterCompletion(String method)
|
void |
addAroundInvoke(String method)
|
void |
addAroundTimeout(String method)
|
void |
addAsynchronousClass(String cls)
|
void |
addBeforeCompletion(String method)
|
void |
addBusinessLocal(Class businessLocal)
|
void |
addBusinessLocal(String businessLocal)
|
void |
addBusinessRemote(Class businessRemote)
|
void |
addBusinessRemote(String businessRemote)
|
void |
addPostActivate(String method)
|
void |
addPostConstruct(String method)
|
void |
addPreDestroy(String method)
|
void |
addPrePassivate(String method)
|
List<LifecycleCallback> |
getAfterBegin()
|
NamedMethod |
getAfterBeginMethod()
|
List<LifecycleCallback> |
getAfterCompletion()
|
NamedMethod |
getAfterCompletionMethod()
|
List<AroundInvoke> |
getAroundInvoke()
|
List<AroundTimeout> |
getAroundTimeout()
|
Set<String> |
getAsynchronousClasses()
|
List<AsyncMethod> |
getAsyncMethod()
|
List<LifecycleCallback> |
getBeforeCompletion()
|
NamedMethod |
getBeforeCompletionMethod()
|
Collection<String> |
getBusinessLocal()
|
Collection<String> |
getBusinessRemote()
|
ConcurrencyManagementType |
getConcurrencyManagementType()
|
List<ConcurrentMethod> |
getConcurrentMethod()
|
Collection<DataSource> |
getDataSource()
|
Map<String,DataSource> |
getDataSourceMap()
|
List<String> |
getDependsOn()
|
String |
getDescription()
|
Text[] |
getDescriptions()
|
String |
getDisplayName()
|
Text[] |
getDisplayNames()
|
String |
getEjbClass()
|
Collection<EjbLocalRef> |
getEjbLocalRef()
|
Map<String,EjbLocalRef> |
getEjbLocalRefMap()
|
String |
getEjbName()
|
Collection<EjbRef> |
getEjbRef()
|
Map<String,EjbRef> |
getEjbRefMap()
|
Collection<EnvEntry> |
getEnvEntry()
|
Map<String,EnvEntry> |
getEnvEntryMap()
|
String |
getHome()
|
Icon |
getIcon()
|
Map<String,Icon> |
getIconMap()
|
Collection<Icon> |
getIcons()
|
String |
getId()
|
List<InitMethod> |
getInitMethod()
|
boolean |
getInitOnStartup()
|
String |
getJndiConsumerName()
|
String |
getLocal()
|
Empty |
getLocalBean()
|
String |
getLocalHome()
|
String |
getMappedName()
|
Collection<MessageDestinationRef> |
getMessageDestinationRef()
|
Map<String,MessageDestinationRef> |
getMessageDestinationRefMap()
|
Collection<String> |
getParents()
|
Collection<PersistenceContextRef> |
getPersistenceContextRef()
|
Map<String,PersistenceContextRef> |
getPersistenceContextRefMap()
|
Collection<PersistenceUnitRef> |
getPersistenceUnitRef()
|
Map<String,PersistenceUnitRef> |
getPersistenceUnitRefMap()
|
List<LifecycleCallback> |
getPostActivate()
|
List<LifecycleCallback> |
getPostConstruct()
|
List<LifecycleCallback> |
getPreDestroy()
|
List<LifecycleCallback> |
getPrePassivate()
|
String |
getProxy()
|
String |
getRemote()
|
List<RemoveMethod> |
getRemoveMethod()
|
Collection<ResourceEnvRef> |
getResourceEnvRef()
|
Map<String,ResourceEnvRef> |
getResourceEnvRefMap()
|
Collection<ResourceRef> |
getResourceRef()
|
Map<String,ResourceRef> |
getResourceRefMap()
|
SecurityIdentity |
getSecurityIdentity()
|
List<SecurityRoleRef> |
getSecurityRoleRef()
|
String |
getServiceEndpoint()
|
Collection<ServiceRef> |
getServiceRef()
|
Map<String,ServiceRef> |
getServiceRefMap()
|
SessionType |
getSessionType()
|
Timeout |
getStatefulTimeout()
|
NamedMethod |
getTimeoutMethod()
|
List<Timer> |
getTimer()
|
String |
getTimerConsumerName()
|
TransactionType |
getTransactionType()
|
boolean |
hasInitOnStartup()
|
boolean |
isRestService()
|
EnterpriseBean |
localBean()
|
void |
setAfterBeginMethod(NamedMethod afterBeginMethod)
|
void |
setAfterCompletionMethod(NamedMethod afterCompletionMethod)
|
void |
setBeforeCompletionMethod(NamedMethod beforeCompletionMethod)
|
void |
setConcurrencyManagementType(ConcurrencyManagementType concurrencyManagementType)
|
void |
setDependsOn(List<String> ejbNames)
|
void |
setDependsOn(String... ejbNames)
|
void |
setDescriptions(Text[] text)
|
void |
setDisplayNames(Text[] text)
|
void |
setEjbClass(Class value)
|
void |
setEjbClass(String value)
|
void |
setEjbName(String value)
The ejb-nameType specifies an enterprise bean's name. |
void |
setHome(String value)
|
void |
setHomeAndLocal(Class<?> localHome,
Class<?> local)
|
void |
setHomeAndLocal(String localHome,
String local)
|
void |
setHomeAndRemote(Class<?> home,
Class<?> remote)
|
void |
setHomeAndRemote(String home,
String remote)
|
void |
setId(String value)
|
void |
setInitOnStartup(boolean initOnStartup)
|
void |
setLocal(String value)
|
void |
setLocalBean(Empty localBean)
|
void |
setLocalHome(String value)
|
void |
setMappedName(String value)
|
void |
setProxy(String name)
|
void |
setRemote(String value)
|
void |
setRestService(boolean restService)
|
void |
setSecurityIdentity(SecurityIdentity value)
|
void |
setServiceEndpoint(String value)
|
void |
setSessionType(SessionType value)
|
void |
setStatefulTimeout(Timeout statefulTimeout)
|
void |
setTimeoutMethod(NamedMethod value)
|
void |
setTransactionType(TransactionType value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
description
protected TextMap description
displayName
protected TextMap displayName
icon
protected LocalCollection<Icon> icon
ejbName
protected String ejbName
mappedName
protected String mappedName
home
protected String home
remote
protected String remote
localHome
protected String localHome
local
protected String local
businessLocal
protected LinkedHashSet<String> businessLocal
businessRemote
protected LinkedHashSet<String> businessRemote
localBean
protected Empty localBean
serviceEndpoint
protected String serviceEndpoint
ejbClass
protected String ejbClass
sessionType
protected SessionType sessionType
statefulTimeout
protected Timeout statefulTimeout
timeoutMethod
protected NamedMethod timeoutMethod
timer
protected List<Timer> timer
initOnStartup
protected Boolean initOnStartup
concurrencyManagementType
protected ConcurrencyManagementType concurrencyManagementType
concurrentMethod
protected List<ConcurrentMethod> concurrentMethod
dependsOn
protected List<String> dependsOn
initMethod
protected List<InitMethod> initMethod
removeMethod
protected List<RemoveMethod> removeMethod
asyncMethod
protected List<AsyncMethod> asyncMethod
transactionType
protected TransactionType transactionType
afterBeginMethod
protected NamedMethod afterBeginMethod
beforeCompletionMethod
protected NamedMethod beforeCompletionMethod
afterCompletionMethod
protected NamedMethod afterCompletionMethod
aroundInvoke
protected List<AroundInvoke> aroundInvoke
aroundTimeout
protected List<AroundTimeout> aroundTimeout
envEntry
protected KeyedCollection<String,EnvEntry> envEntry
ejbRef
protected KeyedCollection<String,EjbRef> ejbRef
ejbLocalRef
protected KeyedCollection<String,EjbLocalRef> ejbLocalRef
serviceRef
protected KeyedCollection<String,ServiceRef> serviceRef
resourceRef
protected KeyedCollection<String,ResourceRef> resourceRef
resourceEnvRef
protected KeyedCollection<String,ResourceEnvRef> resourceEnvRef
messageDestinationRef
protected KeyedCollection<String,MessageDestinationRef> messageDestinationRef
persistenceContextRef
protected KeyedCollection<String,PersistenceContextRef> persistenceContextRef
persistenceUnitRef
protected KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef
postConstruct
protected List<LifecycleCallback> postConstruct
preDestroy
protected List<LifecycleCallback> preDestroy
dataSource
protected KeyedCollection<String,DataSource> dataSource
postActivate
protected List<LifecycleCallback> postActivate
prePassivate
protected List<LifecycleCallback> prePassivate
securityRoleRef
protected List<SecurityRoleRef> securityRoleRef
securityIdentity
protected SecurityIdentity securityIdentity
id
protected String id
SessionBean
public SessionBean()
SessionBean
public SessionBean(String ejbName,
String ejbClass,
SessionType sessionType)
getJndiConsumerName
public String getJndiConsumerName()
- Specified by:
getJndiConsumerName in interface JndiConsumer
getDescriptions
public Text[] getDescriptions()
setDescriptions
public void setDescriptions(Text[] text)
getDescription
public String getDescription()
getDisplayNames
public Text[] getDisplayNames()
setDisplayNames
public void setDisplayNames(Text[] text)
getDisplayName
public String getDisplayName()
getIcons
public Collection<Icon> getIcons()
getIconMap
public Map<String,Icon> getIconMap()
getIcon
public Icon getIcon()
getEjbName
public String getEjbName()
- Specified by:
getEjbName in interface EnterpriseBean
setEjbName
public void setEjbName(String value)
- The ejb-nameType specifies an enterprise bean's name. It is
used by ejb-name elements. This name is assigned by the
ejb-jar file producer to name the enterprise bean in the
ejb-jar file's deployment descriptor. The name must be
unique among the names of the enterprise beans in the same
ejb-jar file.
There is no architected relationship between the used
ejb-name in the deployment descriptor and the JNDI name that
the Deployer will assign to the enterprise bean's home.
The name for an entity bean must conform to the lexical
rules for an NMTOKEN.
Example:
EmployeeService
- Specified by:
setEjbName in interface EnterpriseBean
getMappedName
public String getMappedName()
- Specified by:
getMappedName in interface EnterpriseBean
setMappedName
public void setMappedName(String value)
- Specified by:
setMappedName in interface EnterpriseBean
getHome
public String getHome()
- Specified by:
getHome in interface RemoteBean
setHome
public void setHome(String value)
- Specified by:
setHome in interface RemoteBean
getRemote
public String getRemote()
- Specified by:
getRemote in interface RemoteBean
setRemote
public void setRemote(String value)
- Specified by:
setRemote in interface RemoteBean
setHomeAndRemote
public void setHomeAndRemote(String home,
String remote)
setHomeAndRemote
public void setHomeAndRemote(Class<?> home,
Class<?> remote)
setHomeAndLocal
public void setHomeAndLocal(String localHome,
String local)
setHomeAndLocal
public void setHomeAndLocal(Class<?> localHome,
Class<?> local)
getLocalHome
public String getLocalHome()
- Specified by:
getLocalHome in interface RemoteBean
setLocalHome
public void setLocalHome(String value)
- Specified by:
setLocalHome in interface RemoteBean
getLocal
public String getLocal()
- Specified by:
getLocal in interface RemoteBean
setLocal
public void setLocal(String value)
- Specified by:
setLocal in interface RemoteBean
getBusinessLocal
public Collection<String> getBusinessLocal()
- Specified by:
getBusinessLocal in interface RemoteBean
addBusinessLocal
public void addBusinessLocal(String businessLocal)
addBusinessLocal
public void addBusinessLocal(Class businessLocal)
getBusinessRemote
public Collection<String> getBusinessRemote()
- Specified by:
getBusinessRemote in interface RemoteBean
addBusinessRemote
public void addBusinessRemote(String businessRemote)
addBusinessRemote
public void addBusinessRemote(Class businessRemote)
getLocalBean
public Empty getLocalBean()
setLocalBean
public void setLocalBean(Empty localBean)
getServiceEndpoint
public String getServiceEndpoint()
setServiceEndpoint
public void setServiceEndpoint(String value)
getEjbClass
public String getEjbClass()
- Specified by:
getEjbClass in interface EnterpriseBean
setEjbClass
public void setEjbClass(String value)
- Specified by:
setEjbClass in interface EnterpriseBean
setEjbClass
public void setEjbClass(Class value)
- Specified by:
setEjbClass in interface EnterpriseBean
getSessionType
public SessionType getSessionType()
setSessionType
public void setSessionType(SessionType value)
getTimeoutMethod
public NamedMethod getTimeoutMethod()
- Specified by:
getTimeoutMethod in interface TimerConsumer
setTimeoutMethod
public void setTimeoutMethod(NamedMethod value)
- Specified by:
setTimeoutMethod in interface TimerConsumer
getInitMethod
public List<InitMethod> getInitMethod()
- Specified by:
getInitMethod in interface Session
getRemoveMethod
public List<RemoveMethod> getRemoveMethod()
- Specified by:
getRemoveMethod in interface Session
getTransactionType
public TransactionType getTransactionType()
- Specified by:
getTransactionType in interface EnterpriseBean
setTransactionType
public void setTransactionType(TransactionType value)
- Specified by:
setTransactionType in interface EnterpriseBean
getAfterBeginMethod
public NamedMethod getAfterBeginMethod()
setAfterBeginMethod
public void setAfterBeginMethod(NamedMethod afterBeginMethod)
getBeforeCompletionMethod
public NamedMethod getBeforeCompletionMethod()
setBeforeCompletionMethod
public void setBeforeCompletionMethod(NamedMethod beforeCompletionMethod)
getAfterCompletionMethod
public NamedMethod getAfterCompletionMethod()
setAfterCompletionMethod
public void setAfterCompletionMethod(NamedMethod afterCompletionMethod)
getAroundInvoke
public List<AroundInvoke> getAroundInvoke()
- Specified by:
getAroundInvoke in interface Invokable
addAroundInvoke
public void addAroundInvoke(String method)
- Specified by:
addAroundInvoke in interface Invokable
getEnvEntry
public Collection<EnvEntry> getEnvEntry()
- Specified by:
getEnvEntry in interface JndiConsumer
getEnvEntryMap
public Map<String,EnvEntry> getEnvEntryMap()
- Specified by:
getEnvEntryMap in interface JndiConsumer
getEjbRef
public Collection<EjbRef> getEjbRef()
- Specified by:
getEjbRef in interface JndiConsumer
getEjbRefMap
public Map<String,EjbRef> getEjbRefMap()
- Specified by:
getEjbRefMap in interface JndiConsumer
getEjbLocalRef
public Collection<EjbLocalRef> getEjbLocalRef()
- Specified by:
getEjbLocalRef in interface JndiConsumer
getEjbLocalRefMap
public Map<String,EjbLocalRef> getEjbLocalRefMap()
- Specified by:
getEjbLocalRefMap in interface JndiConsumer
getServiceRef
public Collection<ServiceRef> getServiceRef()
- Specified by:
getServiceRef in interface JndiConsumer
getServiceRefMap
public Map<String,ServiceRef> getServiceRefMap()
- Specified by:
getServiceRefMap in interface JndiConsumer
getResourceRef
public Collection<ResourceRef> getResourceRef()
- Specified by:
getResourceRef in interface JndiConsumer
getResourceRefMap
public Map<String,ResourceRef> getResourceRefMap()
- Specified by:
getResourceRefMap in interface JndiConsumer
getResourceEnvRef
public Collection<ResourceEnvRef> getResourceEnvRef()
- Specified by:
getResourceEnvRef in interface JndiConsumer
getResourceEnvRefMap
public Map<String,ResourceEnvRef> getResourceEnvRefMap()
- Specified by:
getResourceEnvRefMap in interface JndiConsumer
getMessageDestinationRef
public Collection<MessageDestinationRef> getMessageDestinationRef()
- Specified by:
getMessageDestinationRef in interface JndiConsumer
getMessageDestinationRefMap
public Map<String,MessageDestinationRef> getMessageDestinationRefMap()
- Specified by:
getMessageDestinationRefMap in interface JndiConsumer
getPersistenceContextRef
public Collection<PersistenceContextRef> getPersistenceContextRef()
- Specified by:
getPersistenceContextRef in interface JndiConsumer
getPersistenceContextRefMap
public Map<String,PersistenceContextRef> getPersistenceContextRefMap()
- Specified by:
getPersistenceContextRefMap in interface JndiConsumer
getPersistenceUnitRef
public Collection<PersistenceUnitRef> getPersistenceUnitRef()
- Specified by:
getPersistenceUnitRef in interface JndiConsumer
getPersistenceUnitRefMap
public Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
- Specified by:
getPersistenceUnitRefMap in interface JndiConsumer
getPostConstruct
public List<LifecycleCallback> getPostConstruct()
- Specified by:
getPostConstruct in interface Lifecycle
addPostConstruct
public void addPostConstruct(String method)
- Specified by:
addPostConstruct in interface Lifecycle
getPreDestroy
public List<LifecycleCallback> getPreDestroy()
- Specified by:
getPreDestroy in interface Lifecycle
addPreDestroy
public void addPreDestroy(String method)
- Specified by:
addPreDestroy in interface Lifecycle
getPostActivate
public List<LifecycleCallback> getPostActivate()
- Specified by:
getPostActivate in interface Session
addPostActivate
public void addPostActivate(String method)
- Specified by:
addPostActivate in interface Session
getPrePassivate
public List<LifecycleCallback> getPrePassivate()
- Specified by:
getPrePassivate in interface Session
addPrePassivate
public void addPrePassivate(String method)
- Specified by:
addPrePassivate in interface Session
getSecurityRoleRef
public List<SecurityRoleRef> getSecurityRoleRef()
- Specified by:
getSecurityRoleRef in interface EnterpriseBean
getSecurityIdentity
public SecurityIdentity getSecurityIdentity()
- Specified by:
getSecurityIdentity in interface EnterpriseBean
setSecurityIdentity
public void setSecurityIdentity(SecurityIdentity value)
- Specified by:
setSecurityIdentity in interface EnterpriseBean
getDependsOn
public List<String> getDependsOn()
setDependsOn
public void setDependsOn(String... ejbNames)
setDependsOn
public void setDependsOn(List<String> ejbNames)
hasInitOnStartup
public boolean hasInitOnStartup()
getInitOnStartup
public boolean getInitOnStartup()
setInitOnStartup
public void setInitOnStartup(boolean initOnStartup)
getId
public String getId()
- Specified by:
getId in interface EnterpriseBean
setId
public void setId(String value)
- Specified by:
setId in interface EnterpriseBean
getStatefulTimeout
public Timeout getStatefulTimeout()
setStatefulTimeout
public void setStatefulTimeout(Timeout statefulTimeout)
getAroundTimeout
public List<AroundTimeout> getAroundTimeout()
- Specified by:
getAroundTimeout in interface Invokable
getAsyncMethod
public List<AsyncMethod> getAsyncMethod()
getConcurrencyManagementType
public ConcurrencyManagementType getConcurrencyManagementType()
setConcurrencyManagementType
public void setConcurrencyManagementType(ConcurrencyManagementType concurrencyManagementType)
getConcurrentMethod
public List<ConcurrentMethod> getConcurrentMethod()
addAfterBegin
public void addAfterBegin(String method)
- Specified by:
addAfterBegin in interface Session
addAfterCompletion
public void addAfterCompletion(String method)
- Specified by:
addAfterCompletion in interface Session
addBeforeCompletion
public void addBeforeCompletion(String method)
- Specified by:
addBeforeCompletion in interface Session
getAfterBegin
public List<LifecycleCallback> getAfterBegin()
- Specified by:
getAfterBegin in interface Session
getAfterCompletion
public List<LifecycleCallback> getAfterCompletion()
- Specified by:
getAfterCompletion in interface Session
getBeforeCompletion
public List<LifecycleCallback> getBeforeCompletion()
- Specified by:
getBeforeCompletion in interface Session
getDataSource
public Collection<DataSource> getDataSource()
- Specified by:
getDataSource in interface JndiConsumer
getDataSourceMap
public Map<String,DataSource> getDataSourceMap()
- Specified by:
getDataSourceMap in interface JndiConsumer
getTimer
public List<Timer> getTimer()
- Specified by:
getTimer in interface TimerConsumer
addAroundTimeout
public void addAroundTimeout(String method)
- Specified by:
addAroundTimeout in interface Invokable
getAsynchronousClasses
public Set<String> getAsynchronousClasses()
addAsynchronousClass
public void addAsynchronousClass(String cls)
getTimerConsumerName
public String getTimerConsumerName()
- Specified by:
getTimerConsumerName in interface TimerConsumer
isRestService
public boolean isRestService()
setRestService
public void setRestService(boolean restService)
setProxy
public void setProxy(String name)
getProxy
public String getProxy()
getParents
public Collection<String> getParents()
localBean
public EnterpriseBean localBean()
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.