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 javax.enterprise.inject.spi.configurator.BeanAttributesConfigurator<T>
configureBeanAttributes()
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.Annotated
getAnnotated()
javax.enterprise.inject.spi.BeanAttributes<T>
getBeanAttributes()
javax.enterprise.inject.spi.BeanAttributes<T>
getBeanAttributesInternal()
void
ignoreFinalMethods()
boolean
isDirty()
boolean
isIgnoreFinalMethods()
boolean
isVeto()
void
postNotify(javax.enterprise.inject.spi.Extension extension)
void
setBeanAttributes(javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
void
veto()
-
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, 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:
getAnnotated
in interfacejavax.enterprise.inject.spi.ProcessBeanAttributes<T>
-
getBeanAttributes
public javax.enterprise.inject.spi.BeanAttributes<T> getBeanAttributes()
- Specified by:
getBeanAttributes
in 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:
setBeanAttributes
in interfacejavax.enterprise.inject.spi.ProcessBeanAttributes<T>
-
configureBeanAttributes
public javax.enterprise.inject.spi.configurator.BeanAttributesConfigurator<T> configureBeanAttributes()
- Specified by:
configureBeanAttributes
in interfacejavax.enterprise.inject.spi.ProcessBeanAttributes<T>
-
veto
public void veto()
- Specified by:
veto
in interfacejavax.enterprise.inject.spi.ProcessBeanAttributes<T>
-
ignoreFinalMethods
public void ignoreFinalMethods()
- Specified by:
ignoreFinalMethods
in interfacejavax.enterprise.inject.spi.ProcessBeanAttributes<T>
-
isVeto
public boolean isVeto()
-
isDirty
public boolean isDirty()
-
isIgnoreFinalMethods
public boolean isIgnoreFinalMethods()
-
postNotify
public void postNotify(javax.enterprise.inject.spi.Extension extension)
- Specified by:
postNotify
in interfaceNotificationListener
- Overrides:
postNotify
in classContainerEvent
-
-