Class GProcessSyntheticAnnotatedType
- java.lang.Object
-
- org.apache.webbeans.portable.events.EventBase
-
- org.apache.webbeans.portable.events.ProcessAnnotatedTypeImpl<X>
-
- org.apache.webbeans.portable.events.ProcessSyntheticAnnotatedTypeImpl
-
- org.apache.webbeans.portable.events.generics.GProcessSyntheticAnnotatedType
-
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.ProcessAnnotatedType,jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType,AfterObserver,GenericBeanEvent
public class GProcessSyntheticAnnotatedType extends ProcessSyntheticAnnotatedTypeImpl implements GenericBeanEvent
-
-
Constructor Summary
Constructors Constructor Description GProcessSyntheticAnnotatedType(WebBeansContext webBeansContext, jakarta.enterprise.inject.spi.Extension source, jakarta.enterprise.inject.spi.AnnotatedType annotatedType)
-
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.ProcessSyntheticAnnotatedTypeImpl
getSource, isModifiedAnnotatedType
-
Methods inherited from class org.apache.webbeans.portable.events.ProcessAnnotatedTypeImpl
afterObserver, configureAnnotatedType, getAnnotatedType, isVeto, setAnnotatedType, veto
-
Methods inherited from class org.apache.webbeans.portable.events.EventBase
checkState, setStarted
-
-
-
-
Constructor Detail
-
GProcessSyntheticAnnotatedType
public GProcessSyntheticAnnotatedType(WebBeansContext webBeansContext, jakarta.enterprise.inject.spi.Extension source, jakarta.enterprise.inject.spi.AnnotatedType annotatedType)
-
-
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"
-
-