Class GProcessSessionBean

  • All Implemented Interfaces:
    jakarta.enterprise.inject.spi.ProcessBean, jakarta.enterprise.inject.spi.ProcessManagedBean, jakarta.enterprise.inject.spi.ProcessSessionBean, GenericBeanEvent

    public class GProcessSessionBean
    extends ProcessSessionBeanImpl
    implements GenericBeanEvent
    • Constructor Detail

      • GProcessSessionBean

        public GProcessSessionBean​(jakarta.enterprise.inject.spi.Bean<Object> bean,
                                   jakarta.enterprise.inject.spi.AnnotatedType<?> annotatedType,
                                   String name,
                                   jakarta.enterprise.inject.spi.SessionBeanType type)
    • Method Detail

      • getBeanClassFor

        public Class<?> getBeanClassFor​(Class<?> eventClass)
        This is an exceptional case due to the definition ProcessSessionBean extends ProcessManagedBean If we are thinking of this event as a ProcessSessionBean then the bean class is X but if we are thinking of it as a ProcessManagedBean or superclass then the bean class is Object. See https://issues.jboss.org/browse/CDITCK-215
        Specified by:
        getBeanClassFor in interface GenericBeanEvent
        Parameters:
        eventClass - the class of event we are treating this event as
        Returns:
        X.class or Object.class