Package org.jboss.weld.bootstrap.events
Class ProcessBeanAttributesImpl<T>
- java.lang.Object
-
- org.jboss.weld.bootstrap.events.ContainerEvent
-
- org.jboss.weld.bootstrap.events.AbstractContainerEvent
-
- org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent
-
- org.jboss.weld.bootstrap.events.ProcessBeanAttributesImpl<T>
-
- Type Parameters:
T- the type of bean
- All Implemented Interfaces:
javax.enterprise.inject.spi.ProcessBeanAttributes<T>,NotificationListener
public class ProcessBeanAttributesImpl<T> extends AbstractDefinitionContainerEvent implements javax.enterprise.inject.spi.ProcessBeanAttributes<T>
Container lifecycle event that allows bean metadata (BeanAttributes) to be changed before the bean is registered.- Author:
- Jozef Hartinger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static <T> ProcessBeanAttributesImpl<T>fire(BeanManagerImpl beanManager, javax.enterprise.inject.spi.BeanAttributes<T> attributes, javax.enterprise.inject.spi.Annotated annotated, Type type)javax.enterprise.inject.spi.AnnotatedgetAnnotated()javax.enterprise.inject.spi.BeanAttributes<T>getBeanAttributes()javax.enterprise.inject.spi.BeanAttributes<T>getBeanAttributesInternal()booleanisDirty()booleanisVeto()voidsetBeanAttributes(javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes)voidveto()-
Methods inherited from class org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent
addDefinitionError, fire
-
Methods inherited from class org.jboss.weld.bootstrap.events.AbstractContainerEvent
getActualTypeArguments, getBeanManager, getErrors, getEventType, getRawType
-
Methods inherited from class org.jboss.weld.bootstrap.events.ContainerEvent
checkWithinObserverNotification, getReceiver, postNotify, preNotify
-
-
-
-
Method Detail
-
fire
protected static <T> ProcessBeanAttributesImpl<T> fire(BeanManagerImpl beanManager, javax.enterprise.inject.spi.BeanAttributes<T> attributes, javax.enterprise.inject.spi.Annotated annotated, Type type)
-
getAnnotated
public javax.enterprise.inject.spi.Annotated getAnnotated()
- Specified by:
getAnnotatedin interfacejavax.enterprise.inject.spi.ProcessBeanAttributes<T>
-
getBeanAttributes
public javax.enterprise.inject.spi.BeanAttributes<T> getBeanAttributes()
- Specified by:
getBeanAttributesin interfacejavax.enterprise.inject.spi.ProcessBeanAttributes<T>
-
getBeanAttributesInternal
public javax.enterprise.inject.spi.BeanAttributes<T> getBeanAttributesInternal()
-
setBeanAttributes
public void setBeanAttributes(javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
- Specified by:
setBeanAttributesin interfacejavax.enterprise.inject.spi.ProcessBeanAttributes<T>
-
veto
public void veto()
- Specified by:
vetoin interfacejavax.enterprise.inject.spi.ProcessBeanAttributes<T>
-
isVeto
public boolean isVeto()
-
isDirty
public boolean isDirty()
-
-