Top Description Methods
javax.enterprise.inject.spi

public Interface EventContext<T>

Type Parameters
<T>
type of event object

Represents a context of a fired event. Provides access to an event object and corresponding metadata.
Author
Martin Kouba
Since
2.0
See Also
ObserverMethod#notify(EventContext), EventMetadata

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

the event object, aka the payload
getEvent
()

public EventMetadata

Returns:

the event metadata
getMetadata
()

Method Detail

getEventback to summary
public T getEvent()
Returns:T

the event object, aka the payload

getMetadataback to summary
public EventMetadata getMetadata()
Returns:EventMetadata

the event metadata