Module jakarta.cdi

Interface EventMetadata


public interface EventMetadata

Provides access to metadata about an observed event payload.

EventMetadata may only be injected into an observer method. For example:

 public void afterLogin(@Observes LoggedInEvent event, EventMetadata eventMetadata) { ... }
 
Since:
1.1
See Also: