Package io.atomix.primitive.event
Class Events
java.lang.Object
io.atomix.primitive.event.Events
public final class Events extends Object
Event utilities.
-
Method Summary
Modifier and Type Method Description static Map<EventType,Method>getEventMap(Class<?> serviceInterface)Returns the collection of events provided by the given service interface.static Map<Method,EventType>getMethodMap(Class<?> serviceInterface)Returns the collection of events provided by the given service interface.
-
Method Details
-
getMethodMap
Returns the collection of events provided by the given service interface.- Parameters:
serviceInterface- the client service interface- Returns:
- the events provided by the given service interface
-
getEventMap
Returns the collection of events provided by the given service interface.- Parameters:
serviceInterface- the service interface- Returns:
- the events provided by the given service interface
-