Interface GenericBeanEvent
-
- All Known Subinterfaces:
TwoParametersGenericBeanEvent
- All Known Implementing Classes:
GProcessAnnotatedType,GProcessBean,GProcessBeanAttributes,GProcessInjectionPoint,GProcessInjectionTarget,GProcessManagedBean,GProcessSessionBean,GProcessSyntheticAnnotatedType,GProcessSyntheticBean
public interface GenericBeanEvent
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
getBeanClassFor
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. Normally this is X, but in at least one case (ProcessSessionBean) the generic type is different. - Parameters:
eventClass- the class of event we are treating this event as- Returns:
- the generic type parameter of this event considered as an "eventClass"
-
-