Package io.preboot.eventbus
Interface GenericEvent<T>
public interface GenericEvent<T>
Marker interface for events that have a generic type parameter. Implementations must provide access to the actual
type parameter instance to enable runtime type filtering.
-
Method Summary
Modifier and TypeMethodDescriptionGets the instance that represents the generic type parameter.
-
Method Details
-
getTypeParameter
T getTypeParameter()Gets the instance that represents the generic type parameter. This is used for runtime type filtering in event handlers.
-