X
- public interface ProcessSessionBean<X> extends ProcessManagedBean<Object>
The container fires an event of this type for each enabled session bean, before registering the
Bean
object.
If any observer method of a ProcessSessionBean
event throws an exception, the exception is treated as a definition
error by the container.
Note that the type parameter of the super-interface of ProcessSessionBean
is Object
as ProcessBean
allows you access to the Bean
, which in turn allows you to instantiate an instance, which, for interface-view Jakarta Enterprise Beans
will not be an instance of X.
Modifier and Type | Method and Description |
---|---|
String |
getEjbName()
Returns the Jakarta Enterprise Bean name of the session bean.
|
SessionBeanType |
getSessionBeanType()
Returns a
SessionBeanType representing the kind of session bean. |
getAnnotatedBeanClass
addDefinitionError, getAnnotated, getBean
String getEjbName()
IllegalStateException
- if called outside of the observer method invocationSessionBeanType getSessionBeanType()
SessionBeanType
representing the kind of session bean.SessionBeanType
IllegalStateException
- if called outside of the observer method invocationComments to: cdi-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.