public final class EventMetadataImpl extends Object implements ExperimentalEventMetadata
EventMetadata implementation.| Constructor and Description |
|---|
EventMetadataImpl(Type type,
InjectionPoint injectionPoint,
Annotation[] qualifiers) |
EventMetadataImpl(Type type,
InjectionPoint injectionPoint,
Set<Annotation> qualifiers,
boolean isAsync) |
| Modifier and Type | Method and Description |
|---|---|
InjectionPoint |
getInjectionPoint()
Get the
InjectionPoint representing the injected Event instance which fired the event, or
null if it was fired from BeanManager.fireEvent(Object, Annotation...); |
Set<Annotation> |
getQualifiers()
Get the qualifiers for which event payload was fired.
|
Type |
getType()
Get the type representing runtime class of the event object with type variables resolved.
|
boolean |
isAsync()
Indicates whether this event was fired asynchronously.
|
String |
toString() |
public EventMetadataImpl(Type type, InjectionPoint injectionPoint, Set<Annotation> qualifiers, boolean isAsync)
public EventMetadataImpl(Type type, InjectionPoint injectionPoint, Annotation[] qualifiers)
public Set<Annotation> getQualifiers()
EventMetadatagetQualifiers in interface EventMetadatapublic InjectionPoint getInjectionPoint()
EventMetadataInjectionPoint representing the injected Event instance which fired the event, or
null if it was fired from BeanManager.fireEvent(Object, Annotation...);getInjectionPoint in interface EventMetadatapublic Type getType()
EventMetadatagetType in interface EventMetadatapublic boolean isAsync()
ExperimentalEventMetadataisAsync in interface ExperimentalEventMetadataCopyright © 2015. All Rights Reserved.