Class GProcessInjectionPoint
- java.lang.Object
-
- org.apache.webbeans.portable.events.EventBase
-
- org.apache.webbeans.portable.events.ProcessInjectionPointImpl
-
- org.apache.webbeans.portable.events.generics.GProcessInjectionPoint
-
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.ProcessInjectionPoint,AfterObserver,GenericBeanEvent,TwoParametersGenericBeanEvent
public class GProcessInjectionPoint extends ProcessInjectionPointImpl implements TwoParametersGenericBeanEvent
-
-
Constructor Summary
Constructors Constructor Description GProcessInjectionPoint(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint)
-
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. TypegetInjectionType()-
Methods inherited from class org.apache.webbeans.portable.events.ProcessInjectionPointImpl
addDefinitionError, afterObserver, configureInjectionPoint, getInjectionPoint, setInjectionPoint
-
Methods inherited from class org.apache.webbeans.portable.events.EventBase
checkState, setStarted
-
-
-
-
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"
-
getInjectionType
public Type getInjectionType()
- Specified by:
getInjectionTypein interfaceTwoParametersGenericBeanEvent
-
-