Class ProcessObserverMethodImpl<T,​X>

  • Type Parameters:
    X - declared bean class
    T - event type
    All Implemented Interfaces:
    jakarta.enterprise.inject.spi.ProcessObserverMethod<T,​X>, AfterObserver, ExtensionAware
    Direct Known Subclasses:
    GProcessObserverMethod

    public class ProcessObserverMethodImpl<T,​X>
    extends EventBase
    implements jakarta.enterprise.inject.spi.ProcessObserverMethod<T,​X>, ExtensionAware, AfterObserver
    Implementation of  ProcessObserverMethod.
    Version:
    $Rev$ $Date$
    • Constructor Detail

      • ProcessObserverMethodImpl

        public ProcessObserverMethodImpl​(WebBeansContext webBeansContext,
                                         jakarta.enterprise.inject.spi.AnnotatedMethod<X> annotatedMethod,
                                         jakarta.enterprise.inject.spi.ObserverMethod<T> observerMethod)
    • Method Detail

      • setExtension

        public void setExtension​(jakarta.enterprise.inject.spi.Extension extension)
        Specified by:
        setExtension in interface ExtensionAware
      • addDefinitionError

        public void addDefinitionError​(Throwable t)
        Specified by:
        addDefinitionError 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>
      • 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>
      • veto

        public void veto()
        Specified by:
        veto in interface jakarta.enterprise.inject.spi.ProcessObserverMethod<T,​X>
      • isVetoed

        public boolean isVetoed()