public abstract class ProcessBeanImpl<X> extends AbstractDefinitionContainerEvent implements ProcessBean<X>
Constructor and Description |
---|
ProcessBeanImpl(BeanManagerImpl beanManager,
Bean<X> bean,
Annotated annotated) |
Modifier and Type | Method and Description |
---|---|
void |
addDefinitionError(Throwable t)
Registers a definition error with the container, causing the container to abort deployment after bean discovery is
complete.
|
protected static <X> void |
fire(BeanManagerImpl beanManager,
AbstractBean<X,?> bean) |
protected static <X> void |
fire(BeanManagerImpl beanManager,
Bean<X> bean) |
Annotated |
getAnnotated()
Returns the
AnnotatedType representing the bean class, the
AnnotatedMethod representing the producer method, or the
AnnotatedField representing the producer field. |
Bean<X> |
getBean()
Returns the
Bean object that is about to be registered. |
fire
getActualTypeArguments, getBeanManager, getErrors, getObserverMethod, getRawType, getReceiver, setObserverMethod, setReceiver
public ProcessBeanImpl(BeanManagerImpl beanManager, Bean<X> bean, Annotated annotated)
protected static <X> void fire(BeanManagerImpl beanManager, AbstractBean<X,?> bean)
protected static <X> void fire(BeanManagerImpl beanManager, Bean<X> bean)
public void addDefinitionError(Throwable t)
ProcessBean
addDefinitionError
in interface ProcessBean<X>
t
- The definition error to register as a Throwable
public Annotated getAnnotated()
ProcessBean
AnnotatedType
representing the bean class, the
AnnotatedMethod
representing the producer method, or the
AnnotatedField
representing the producer field.getAnnotated
in interface ProcessBean<X>
AnnotatedType
for the bean being registeredpublic Bean<X> getBean()
ProcessBean
Bean
object that is about to be registered. The
Bean
may implement Interceptor
or
Decorator
.getBean
in interface ProcessBean<X>
Bean
object about to be registeredCopyright © 2013 Seam Framework. All Rights Reserved.