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:
jakarta.enterprise.inject.spi.ProcessBeanAttributes<T>,NotificationListener
public class ProcessBeanAttributesImpl<T>
extends AbstractDefinitionContainerEvent
implements jakarta.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
Modifier and TypeMethodDescriptionjakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator<T>protected static <T> ProcessBeanAttributesImpl<T>fire(BeanManagerImpl beanManager, jakarta.enterprise.inject.spi.BeanAttributes<T> attributes, jakarta.enterprise.inject.spi.Annotated annotated, Type type) jakarta.enterprise.inject.spi.Annotatedjakarta.enterprise.inject.spi.BeanAttributes<T>jakarta.enterprise.inject.spi.BeanAttributes<T>voidbooleanisDirty()booleanbooleanisVeto()voidpostNotify(jakarta.enterprise.inject.spi.Extension extension) voidsetBeanAttributes(jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes) voidveto()Methods inherited from class org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent
addDefinitionError, fireMethods inherited from class org.jboss.weld.bootstrap.events.AbstractContainerEvent
getActualTypeArguments, getBeanManager, getErrors, getEventType, getRawTypeMethods inherited from class org.jboss.weld.bootstrap.events.ContainerEvent
checkWithinObserverNotification, getReceiver, preNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
addDefinitionError
-
Method Details
-
fire
protected static <T> ProcessBeanAttributesImpl<T> fire(BeanManagerImpl beanManager, jakarta.enterprise.inject.spi.BeanAttributes<T> attributes, jakarta.enterprise.inject.spi.Annotated annotated, Type type) -
getAnnotated
public jakarta.enterprise.inject.spi.Annotated getAnnotated()- Specified by:
getAnnotatedin interfacejakarta.enterprise.inject.spi.ProcessBeanAttributes<T>
-
getBeanAttributes
- Specified by:
getBeanAttributesin interfacejakarta.enterprise.inject.spi.ProcessBeanAttributes<T>
-
getBeanAttributesInternal
-
setBeanAttributes
- Specified by:
setBeanAttributesin interfacejakarta.enterprise.inject.spi.ProcessBeanAttributes<T>
-
configureBeanAttributes
public jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator<T> configureBeanAttributes()- Specified by:
configureBeanAttributesin interfacejakarta.enterprise.inject.spi.ProcessBeanAttributes<T>
-
veto
public void veto()- Specified by:
vetoin interfacejakarta.enterprise.inject.spi.ProcessBeanAttributes<T>
-
ignoreFinalMethods
public void ignoreFinalMethods()- Specified by:
ignoreFinalMethodsin interfacejakarta.enterprise.inject.spi.ProcessBeanAttributes<T>
-
isVeto
public boolean isVeto() -
isDirty
public boolean isDirty() -
isIgnoreFinalMethods
public boolean isIgnoreFinalMethods() -
postNotify
public void postNotify(jakarta.enterprise.inject.spi.Extension extension) - Specified by:
postNotifyin interfaceNotificationListener- Overrides:
postNotifyin classContainerEvent
-