Class GProcessAnnotatedType

    • Constructor Detail

      • GProcessAnnotatedType

        public GProcessAnnotatedType​(WebBeansContext webBeansContext,
                                     jakarta.enterprise.inject.spi.AnnotatedType annotatedType)
    • Method Detail

      • setAnnotatedType

        public void setAnnotatedType​(jakarta.enterprise.inject.spi.AnnotatedType type)
        Description copied from class: ProcessAnnotatedTypeImpl
        Specified by:
        setAnnotatedType in interface jakarta.enterprise.inject.spi.ProcessAnnotatedType
        Overrides:
        setAnnotatedType in class ProcessAnnotatedTypeImpl
      • getBeanClassFor

        public Class<?> getBeanClassFor​(Class<?> eventClass)
        Description copied from interface: GenericBeanEvent
        If this is a Foo event and we are considering it as a Bar event, returns the generic type of Foo as a Bar. Normally this is X, but in at least one case (ProcessSessionBean) the generic type is different.
        Specified by:
        getBeanClassFor in interface GenericBeanEvent
        Parameters:
        eventClass - the class of event we are treating this event as
        Returns:
        the generic type parameter of this event considered as an "eventClass"