Package javax.enterprise.inject.spi
Interface EventMetadata
-
public interface EventMetadata
An Observer Method can inject anDependent
EventMetadata object containing information about the sender of the event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InjectionPoint
getInjectionPoint()
java.util.Set<java.lang.annotation.Annotation>
getQualifiers()
java.lang.reflect.Type
getType()
-
-
-
Method Detail
-
getQualifiers
java.util.Set<java.lang.annotation.Annotation> getQualifiers()
- Returns:
- the qualifiers which were used to fire the event
-
getInjectionPoint
InjectionPoint getInjectionPoint()
- Returns:
- the
Event
InjectionPoitn ornull
if this event got fired viaBeanManager.fireEvent(Object, java.lang.annotation.Annotation...)
-
getType
java.lang.reflect.Type getType()
- Returns:
- the effective type of the fired event
-
-