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)
protected
ProcessAnnotatedTypeImpl(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
.boolean
isDirty()
boolean
isVeto()
void
postNotify(jakarta.enterprise.inject.spi.Extension extension)
void
setAnnotatedType(jakarta.enterprise.inject.spi.AnnotatedType<X> type)
String
toString()
void
veto()
-
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:
getAnnotatedType
in 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:
setAnnotatedType
in interfacejakarta.enterprise.inject.spi.ProcessAnnotatedType<X>
-
configureAnnotatedType
public jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator<X> configureAnnotatedType()
- Specified by:
configureAnnotatedType
in interfacejakarta.enterprise.inject.spi.ProcessAnnotatedType<X>
-
veto
public void veto()
- Specified by:
veto
in 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:
postNotify
in interfaceNotificationListener
- Overrides:
postNotify
in classContainerEvent
-
-