Class ObserverMethodsBuilder<T>

  • Type Parameters:
    T - bean class type

    public class ObserverMethodsBuilder<T>
    extends Object
    • Field Detail

      • annotatedType

        protected final javax.enterprise.inject.spi.AnnotatedType<T> annotatedType
    • Constructor Detail

      • ObserverMethodsBuilder

        public ObserverMethodsBuilder​(WebBeansContext webBeansContext,
                                      javax.enterprise.inject.spi.AnnotatedType<T> annotatedType)
        Creates a new instance.
    • Method Detail

      • defineObserverMethods

        public Set<javax.enterprise.inject.spi.ObserverMethod<?>> defineObserverMethods​(AbstractOwbBean<T> ownerBean,
                                                                                        boolean checkContainerEvents)
      • defineObserverMethod

        public javax.enterprise.inject.spi.ObserverMethod<?> defineObserverMethod​(AbstractOwbBean<T> ownerBean,
                                                                                  javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod,
                                                                                  boolean checkContainerEvents)
        Check whether the given annotatedMethod is an ObserverMethod and verify it
        Returns:
        the ObserverMethod or null if this method is not an observer.