public class EventMetadataImpl extends Object implements EventMetadata
Constructor and Description |
---|
EventMetadataImpl(Type type,
javax.enterprise.inject.spi.InjectionPoint injectionPoint,
Annotation... qualifiers) |
Modifier and Type | Method and Description |
---|---|
javax.enterprise.inject.spi.InjectionPoint |
getInjectionPoint()
Get the
InjectionPoint from which the event fired, 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()
Returns the resolved event
Type . |
public EventMetadataImpl(Type type, javax.enterprise.inject.spi.InjectionPoint injectionPoint, Annotation... qualifiers)
public Type getType()
EventMetadata
Type
.getType
in interface EventMetadata
public javax.enterprise.inject.spi.InjectionPoint getInjectionPoint()
EventMetadata
InjectionPoint
from which the event fired, or
null
if it was fired from
BeanManager.fireEvent(Object, Annotation...)
;getInjectionPoint
in interface EventMetadata
public Set<Annotation> getQualifiers()
EventMetadata
getQualifiers
in interface EventMetadata
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.