|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventMetadata
Provides access to metadata about an observed event payload. The metadata may be for events fired with either of
Event
or BeanManager.fireEvent(Object, Annotation...)
.
EventMetadata
may only be injected into an observer method. For example:
public void afterLogin(@Observes LoggedInEvent event, EventMetadata eventMetadata) { ... }
Observes
Method Summary | |
---|---|
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 . |
Method Detail |
---|
Set<Annotation> getQualifiers()
InjectionPoint getInjectionPoint()
InjectionPoint
from which the event fired, or null
if it was fired from
BeanManager.fireEvent(Object, Annotation...)
;
Type getType()
Type
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |