Class LocalHandlerRegistry
- java.lang.Object
-
- io.fluxcapacitor.javaclient.tracking.handling.LocalHandlerRegistry
-
- All Implemented Interfaces:
HandlerRegistry,HasLocalHandlers
public class LocalHandlerRegistry extends Object implements HandlerRegistry
-
-
Constructor Summary
Constructors Constructor Description LocalHandlerRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<CompletableFuture<Message>>handle(Object payload, SerializedMessage serializedMessage)RegistrationregisterHandler(Object target)RegistrationregisterHandler(Object target, HandlerConfiguration<DeserializingMessage> handlerConfiguration)
-
-
-
Method Detail
-
registerHandler
public Registration registerHandler(Object target)
- Specified by:
registerHandlerin interfaceHasLocalHandlers
-
registerHandler
public Registration registerHandler(Object target, HandlerConfiguration<DeserializingMessage> handlerConfiguration)
- Specified by:
registerHandlerin interfaceHasLocalHandlers
-
handle
public Optional<CompletableFuture<Message>> handle(Object payload, SerializedMessage serializedMessage)
- Specified by:
handlein interfaceHandlerRegistry
-
-