Interface ProcessObserverMethod<T,​X>

    • Method Detail

      • getObserverMethod

        ObserverMethod<T> getObserverMethod()
        The ObserverMethod object that will be used by the container to invoke the observer when a matching event is fired.
        Returns:
        the ObserverMethod object that will be used by the container to call the observer method
        Throws:
        IllegalStateException - if called outside of the observer method invocation
      • addDefinitionError

        void addDefinitionError​(Throwable t)
        Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
        Parameters:
        t - A Throwable representing the definition error
        Throws:
        IllegalStateException - if called outside of the observer method invocation
      • veto

        void veto()
        Forces the container to ignore the observer method.
        Throws:
        IllegalStateException - if called outside of the observer method invocation
        Since:
        2.0