|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
X
- public interface ProcessSessionBean<X>
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 EJBs will not be an instance of X.
Method Summary | |
---|---|
String |
getEjbName()
Returns the EJB name of the session bean. |
SessionBeanType |
getSessionBeanType()
Returns a SessionBeanType representing the kind of session
bean. |
Methods inherited from interface javax.enterprise.inject.spi.ProcessManagedBean |
---|
getAnnotatedBeanClass |
Methods inherited from interface javax.enterprise.inject.spi.ProcessBean |
---|
addDefinitionError, getAnnotated, getBean |
Method Detail |
---|
String getEjbName()
SessionBeanType getSessionBeanType()
SessionBeanType
representing the kind of session
bean.
SessionBeanType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |