Package org.jboss.weld.bootstrap.events
Class ProcessAnnotatedTypeImpl<X>
java.lang.Object
org.jboss.weld.bootstrap.events.ContainerEvent
org.jboss.weld.bootstrap.events.ProcessAnnotatedTypeImpl<X>
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.ProcessAnnotatedType<X>,NotificationListener
- Direct Known Subclasses:
ProcessSyntheticAnnotatedTypeImpl
public class ProcessAnnotatedTypeImpl<X>
extends ContainerEvent
implements jakarta.enterprise.inject.spi.ProcessAnnotatedType<X>
Container lifecycle event for each Java class or interface discovered by the container.
- Author:
- pmuir, David Allen, Jozef Hartinger
-
Constructor Summary
ConstructorsModifierConstructorDescriptionProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType) protectedProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType, Class<? extends jakarta.enterprise.inject.spi.ProcessAnnotatedType> rawType) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator<X>jakarta.enterprise.inject.spi.AnnotatedType<X>Call this method after all observer methods of this event have been invoked to get the final value of thisAnnotatedType.booleanisDirty()booleanisVeto()voidpostNotify(jakarta.enterprise.inject.spi.Extension extension) voidsetAnnotatedType(jakarta.enterprise.inject.spi.AnnotatedType<X> type) toString()voidveto()Methods inherited from class org.jboss.weld.bootstrap.events.ContainerEvent
checkWithinObserverNotification, getReceiver, preNotify
-
Constructor Details
-
ProcessAnnotatedTypeImpl
-
ProcessAnnotatedTypeImpl
protected ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType, Class<? extends jakarta.enterprise.inject.spi.ProcessAnnotatedType> rawType)
-
-
Method Details
-
getAnnotatedType
- Specified by:
getAnnotatedTypein interfacejakarta.enterprise.inject.spi.ProcessAnnotatedType<X>
-
getResultingAnnotatedType
Call this method after all observer methods of this event have been invoked to get the final value of thisAnnotatedType.- Returns:
- the resulting annotated type
-
getOriginalAnnotatedType
-
setAnnotatedType
- Specified by:
setAnnotatedTypein interfacejakarta.enterprise.inject.spi.ProcessAnnotatedType<X>
-
configureAnnotatedType
public jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator<X> configureAnnotatedType()- Specified by:
configureAnnotatedTypein interfacejakarta.enterprise.inject.spi.ProcessAnnotatedType<X>
-
veto
public void veto()- Specified by:
vetoin interfacejakarta.enterprise.inject.spi.ProcessAnnotatedType<X>
-
isVeto
public boolean isVeto() -
isDirty
public boolean isDirty() -
postNotify
public void postNotify(jakarta.enterprise.inject.spi.Extension extension) - Specified by:
postNotifyin interfaceNotificationListener- Overrides:
postNotifyin classContainerEvent
-
toString
-