Class GProcessBeanAttributes
- java.lang.Object
-
- org.apache.webbeans.portable.events.EventBase
-
- org.apache.webbeans.portable.events.ProcessBeanAttributesImpl
-
- org.apache.webbeans.portable.events.generics.GProcessBeanAttributes
-
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.ProcessBeanAttributes,AfterObserver,GenericBeanEvent
public class GProcessBeanAttributes extends ProcessBeanAttributesImpl implements GenericBeanEvent
-
-
Constructor Summary
Constructors Constructor Description GProcessBeanAttributes(WebBeansContext webBeansContext, Class<?> type, jakarta.enterprise.inject.spi.Annotated annotated, jakarta.enterprise.inject.spi.BeanAttributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getBeanClassFor(Class<?> eventClass)If this is a Fooevent and we are considering it as a Bar event, returns the generic type of Foo as a Bar. -
Methods inherited from class org.apache.webbeans.portable.events.ProcessBeanAttributesImpl
addDefinitionError, afterObserver, configureBeanAttributes, getAnnotated, getAttributes, getBeanAttributes, getDefinitionError, ignoreFinalMethods, isIgnoreFinalMethods, isVeto, setBeanAttributes, veto
-
Methods inherited from class org.apache.webbeans.portable.events.EventBase
checkState, setStarted
-
-
-
-
Constructor Detail
-
GProcessBeanAttributes
public GProcessBeanAttributes(WebBeansContext webBeansContext, Class<?> type, jakarta.enterprise.inject.spi.Annotated annotated, jakarta.enterprise.inject.spi.BeanAttributes attributes)
-
-
Method Detail
-
getBeanClassFor
public Class<?> getBeanClassFor(Class<?> eventClass)
Description copied from interface:GenericBeanEventIf this is a Fooevent 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:
getBeanClassForin interfaceGenericBeanEvent- Parameters:
eventClass- the class of event we are treating this event as- Returns:
- the generic type parameter of this event considered as an "eventClass"
-
-