Class ProcessObserverMethodImpl<T,X>

All Implemented Interfaces:
jakarta.enterprise.inject.spi.ProcessObserverMethod<T,X>, NotificationListener
Direct Known Subclasses:
ProcessSyntheticObserverMethodImpl

public class ProcessObserverMethodImpl<T,X> extends AbstractDefinitionContainerEvent implements jakarta.enterprise.inject.spi.ProcessObserverMethod<T,X>
Implementation of the event used to notify observers for each observer method that is added.
Author:
David Allen, Martin Kouba
  • Field Details

    • observerMethod

      protected jakarta.enterprise.inject.spi.ObserverMethod<T> observerMethod
    • vetoed

      protected boolean vetoed
  • Method Details

    • fire

      public static <T, X> jakarta.enterprise.inject.spi.ObserverMethod<T> fire(BeanManagerImpl beanManager, jakarta.enterprise.inject.spi.AnnotatedMethod<X> beanMethod, jakarta.enterprise.inject.spi.ObserverMethod<T> observerMethod)
    • fire

      protected static <T, X> jakarta.enterprise.inject.spi.ObserverMethod<T> fire(ProcessObserverMethodImpl<T,X> event)
    • getAnnotatedMethod

      public jakarta.enterprise.inject.spi.AnnotatedMethod<X> getAnnotatedMethod()
      Specified by:
      getAnnotatedMethod in interface jakarta.enterprise.inject.spi.ProcessObserverMethod<T,X>
    • getObserverMethod

      public jakarta.enterprise.inject.spi.ObserverMethod<T> getObserverMethod()
      Specified by:
      getObserverMethod in interface jakarta.enterprise.inject.spi.ProcessObserverMethod<T,X>
    • setObserverMethod

      public void setObserverMethod(jakarta.enterprise.inject.spi.ObserverMethod<T> observerMethod)
      Specified by:
      setObserverMethod in interface jakarta.enterprise.inject.spi.ProcessObserverMethod<T,X>
    • configureObserverMethod

      public jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator<T> configureObserverMethod()
      Specified by:
      configureObserverMethod in interface jakarta.enterprise.inject.spi.ProcessObserverMethod<T,X>
    • veto

      public void veto()
      Specified by:
      veto in interface jakarta.enterprise.inject.spi.ProcessObserverMethod<T,X>
    • 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