T - the type of beanpublic class ProcessBeanAttributesImpl<T> extends AbstractDefinitionContainerEvent implements ProcessBeanAttributes<T>
BeanAttributes) to be changed before the bean is registered.| 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 <T> ProcessBeanAttributesImpl<T> |
fire(BeanManagerImpl beanManager,
BeanAttributes<T> attributes,
Annotated annotated,
Type type) |
Annotated |
getAnnotated() |
BeanAttributes<T> |
getBeanAttributes() |
boolean |
isDirty() |
boolean |
isVeto() |
void |
setBeanAttributes(BeanAttributes<T> beanAttributes)
Replaces the
BeanAttributes. |
void |
veto()
Forces the container to ignore the bean.
|
firegetActualTypeArguments, getBeanManager, getErrors, getObserverMethod, getRawType, getReceiver, setObserverMethod, setReceiverprotected static <T> ProcessBeanAttributesImpl<T> fire(BeanManagerImpl beanManager, BeanAttributes<T> attributes, Annotated annotated, Type type)
public Annotated getAnnotated()
getAnnotated in interface ProcessBeanAttributes<T>AnnotatedType representing the managed bean class or session bean class, the AnnotatedMethod
representing the producer field, or the AnnotatedField representing the producer fieldpublic BeanAttributes<T> getBeanAttributes()
getBeanAttributes in interface ProcessBeanAttributes<T>BeanAttributes object that will be used by the container to manage instances of the beanpublic void setBeanAttributes(BeanAttributes<T> beanAttributes)
ProcessBeanAttributesBeanAttributes.setBeanAttributes in interface ProcessBeanAttributes<T>beanAttributes - the new BeanAttributes to usepublic void addDefinitionError(Throwable t)
ProcessBeanAttributesaddDefinitionError in interface ProcessBeanAttributes<T>t - the error to addpublic void veto()
ProcessBeanAttributesveto in interface ProcessBeanAttributes<T>public boolean isVeto()
public boolean isDirty()
Copyright © 2014 Seam Framework. All Rights Reserved.