Class GProcessAnnotatedType
- java.lang.Object
-
- org.apache.webbeans.portable.events.EventBase
-
- org.apache.webbeans.portable.events.ProcessAnnotatedTypeImpl
-
- org.apache.webbeans.portable.events.generics.GProcessAnnotatedType
-
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.ProcessAnnotatedType,AfterObserver,GenericBeanEvent
public class GProcessAnnotatedType extends ProcessAnnotatedTypeImpl implements GenericBeanEvent
-
-
Constructor Summary
Constructors Constructor Description GProcessAnnotatedType(WebBeansContext webBeansContext, jakarta.enterprise.inject.spi.AnnotatedType annotatedType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.enterprise.inject.spi.AnnotatedTypegetAnnotatedType()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. voidsetAnnotatedType(jakarta.enterprise.inject.spi.AnnotatedType type)voidveto()-
Methods inherited from class org.apache.webbeans.portable.events.ProcessAnnotatedTypeImpl
afterObserver, configureAnnotatedType, isModifiedAnnotatedType, isVeto
-
Methods inherited from class org.apache.webbeans.portable.events.EventBase
checkState, setStarted
-
-
-
-
Constructor Detail
-
GProcessAnnotatedType
public GProcessAnnotatedType(WebBeansContext webBeansContext, jakarta.enterprise.inject.spi.AnnotatedType annotatedType)
-
-
Method Detail
-
getAnnotatedType
public jakarta.enterprise.inject.spi.AnnotatedType getAnnotatedType()
Description copied from class:ProcessAnnotatedTypeImpl- Specified by:
getAnnotatedTypein interfacejakarta.enterprise.inject.spi.ProcessAnnotatedType- Overrides:
getAnnotatedTypein classProcessAnnotatedTypeImpl
-
setAnnotatedType
public void setAnnotatedType(jakarta.enterprise.inject.spi.AnnotatedType type)
Description copied from class:ProcessAnnotatedTypeImpl- Specified by:
setAnnotatedTypein interfacejakarta.enterprise.inject.spi.ProcessAnnotatedType- Overrides:
setAnnotatedTypein classProcessAnnotatedTypeImpl
-
veto
public void veto()
Description copied from class:ProcessAnnotatedTypeImpl- Specified by:
vetoin interfacejakarta.enterprise.inject.spi.ProcessAnnotatedType- Overrides:
vetoin classProcessAnnotatedTypeImpl
-
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"
-
-