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
Constructors Modifier Constructor Description ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType)protectedProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType, Class<? extends jakarta.enterprise.inject.spi.ProcessAnnotatedType> rawType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator<X>configureAnnotatedType()jakarta.enterprise.inject.spi.AnnotatedType<X>getAnnotatedType()SlimAnnotatedType<X>getOriginalAnnotatedType()SlimAnnotatedType<X>getResultingAnnotatedType()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)StringtoString()voidveto()-
Methods inherited from class org.jboss.weld.bootstrap.events.ContainerEvent
checkWithinObserverNotification, getReceiver, preNotify
-
-
-
-
Constructor Detail
-
ProcessAnnotatedTypeImpl
public ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType)
-
ProcessAnnotatedTypeImpl
protected ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType, Class<? extends jakarta.enterprise.inject.spi.ProcessAnnotatedType> rawType)
-
-
Method Detail
-
getAnnotatedType
public jakarta.enterprise.inject.spi.AnnotatedType<X> getAnnotatedType()
- Specified by:
getAnnotatedTypein interfacejakarta.enterprise.inject.spi.ProcessAnnotatedType<X>
-
getResultingAnnotatedType
public SlimAnnotatedType<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
public SlimAnnotatedType<X> getOriginalAnnotatedType()
-
setAnnotatedType
public void setAnnotatedType(jakarta.enterprise.inject.spi.AnnotatedType<X> type)
- 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
-
-