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 |
|---|---|
protected static <T> ProcessBeanAttributesImpl<T> |
fire(BeanManagerImpl beanManager,
BeanAttributes<T> attributes,
Annotated annotated,
Type type) |
Annotated |
getAnnotated() |
BeanAttributes<T> |
getBeanAttributes() |
BeanAttributes<T> |
getBeanAttributesInternal() |
boolean |
isDirty() |
boolean |
isVeto() |
void |
setBeanAttributes(BeanAttributes<T> beanAttributes)
Replaces the
BeanAttributes. |
void |
veto()
Forces the container to ignore the bean.
|
addDefinitionError, firegetActualTypeArguments, getBeanManager, getErrors, getRawTypecheckWithinObserverNotification, getReceiver, postNotify, preNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDefinitionErrorprotected 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 BeanAttributes<T> getBeanAttributesInternal()
public void setBeanAttributes(BeanAttributes<T> beanAttributes)
ProcessBeanAttributesBeanAttributes.setBeanAttributes in interface ProcessBeanAttributes<T>beanAttributes - the new BeanAttributes to usepublic void veto()
ProcessBeanAttributesveto in interface ProcessBeanAttributes<T>public boolean isVeto()
public boolean isDirty()
Copyright © 2014. All Rights Reserved.