public abstract class AbstractProcessClassBean<X,B extends AbstractClassBean<X>> extends AbstractDefinitionContainerEvent implements ProcessBean<X>
Constructor and Description |
---|
AbstractProcessClassBean(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. |
B |
getBean()
Returns the
Bean object that is about to be registered. |
fire
getActualTypeArguments, getBeanManager, getErrors, getObserverMethod, getRawType, getReceiver, setObserverMethod, setReceiver
public AbstractProcessClassBean(BeanManagerImpl beanManager, Type rawType, Type[] actualTypeArguments, B 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 B 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.