Top Description Methods
javax.enterprise.inject.spi

public Interface ProcessManagedBean<X>

extends ProcessBean<X>
Known Direct Subinterfaces
javax.enterprise.inject.spi.ProcessSessionBean
Type Parameters
<X>
The class of the bean

The container fires an event of this type for each enabled managed bean, before registering the javax.enterprise.inject.spi.Bean object.

If any observer method of a ProcessManagedBean event throws an exception, the exception is treated as a definition error by the container.

Author
David Allen

Method Summary

Modifier and TypeMethod and Description
public AnnotatedType<X>

Returns:

the javax.enterprise.inject.spi.AnnotatedType for the bean being registered
getAnnotatedBeanClass
()

Returns the javax.enterprise.inject.spi.AnnotatedType representing the bean class.

Inherited from javax.enterprise.inject.spi.ProcessBean:
addDefinitionErrorgetAnnotatedgetBean

Method Detail

getAnnotatedBeanClassback to summary
public AnnotatedType<X> getAnnotatedBeanClass()

Returns the javax.enterprise.inject.spi.AnnotatedType representing the bean class.

Returns:AnnotatedType<X>

the javax.enterprise.inject.spi.AnnotatedType for the bean being registered

Exceptions
IllegalStateException:
if called outside of the observer method invocation