Class GProcessSessionBean

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

    public class GProcessSessionBean
    extends ProcessSessionBeanImpl
    implements GenericBeanEvent
    • Constructor Detail

      • GProcessSessionBean

        public GProcessSessionBean​(javax.enterprise.inject.spi.Bean<Object> bean,
                                   javax.enterprise.inject.spi.AnnotatedType<?> annotatedType,
                                   String name,
                                   javax.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