public abstract class AbstractProcessProducerBean<T,X,B extends AbstractProducerBean<T,X,?>> extends AbstractDefinitionContainerEvent implements ProcessBean<X>
| Constructor and Description |
|---|
AbstractProcessProducerBean(BeanManagerImpl beanManager,
Type rawType,
Type[] actualTypeArguments,
B bean) |
| 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.
|
Annotated |
getAnnotated()
Returns the
AnnotatedType representing the bean class, the
AnnotatedMethod representing the producer method, or the
AnnotatedField representing the producer field. |
AnnotatedParameter<T> |
getAnnotatedDisposedParameter() |
B |
getBean()
Returns the
Bean object that is about to be registered. |
firegetActualTypeArguments, getBeanManager, getErrors, getObserverMethod, getRawType, getReceiver, setObserverMethod, setReceiverpublic AbstractProcessProducerBean(BeanManagerImpl beanManager, Type rawType, Type[] actualTypeArguments, B bean)
public void addDefinitionError(Throwable t)
ProcessBeanaddDefinitionError in interface ProcessBean<X>t - The definition error to register as a Throwablepublic Annotated getAnnotated()
ProcessBeanAnnotatedType 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 B getBean()
ProcessBeanBean object that is about to be registered. The
Bean may implement Interceptor or
Decorator.getBean in interface ProcessBean<X>Bean object about to be registeredpublic AnnotatedParameter<T> getAnnotatedDisposedParameter()
Copyright © 2014 Seam Framework. All Rights Reserved.