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 Details

  • Method Details

    • getAnnotatedType

      public jakarta.enterprise.inject.spi.AnnotatedType<X> getAnnotatedType()
      Specified by:
      getAnnotatedType in interface jakarta.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 this AnnotatedType.
      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 interface jakarta.enterprise.inject.spi.ProcessAnnotatedType<X>
    • configureAnnotatedType

      public jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator<X> configureAnnotatedType()
      Specified by:
      configureAnnotatedType in interface jakarta.enterprise.inject.spi.ProcessAnnotatedType<X>
    • veto

      public void veto()
      Specified by:
      veto in interface jakarta.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 interface NotificationListener
      Overrides:
      postNotify in class ContainerEvent
    • toString

      public String toString()
      Overrides:
      toString in class Object