- handle(S, C) - Method in interface com.cookingfox.lapasse.api.command.handler.AsyncCommandHandler
-
Handle a command asynchronously.
- handle(S, C) - Method in interface com.cookingfox.lapasse.api.command.handler.AsyncMultiCommandHandler
-
Handle a command asynchronously and produce multiple events
- handle(S, C) - Method in interface com.cookingfox.lapasse.api.command.handler.SyncCommandHandler
-
Handle a command synchronously.
- handle(S, C) - Method in interface com.cookingfox.lapasse.api.command.handler.SyncMultiCommandHandler
-
Handle a command synchronously and produce multiple events.
- handle(S, C) - Method in interface com.cookingfox.lapasse.api.command.handler.VoidCommandHandler
-
Handle a command without returning an event.
- handle(S, E) - Method in interface com.cookingfox.lapasse.api.event.handler.EventHandler
-
Returns the previous state or creates a new state object by applying the event to the
previous state.
- HandleCommand - Annotation Type in com.cookingfox.lapasse.annotation
-
Indicates that the method with this annotation should be interpreted as a short-hand
CommandHandler implementation.
- handleCommand(Command) - Method in interface com.cookingfox.lapasse.api.command.bus.CommandBus
-
Execute the command handler that is mapped to this command type.
- handleCommand(Command) - Method in class com.cookingfox.lapasse.impl.command.bus.DefaultCommandBus
-
- handleCommand(Command) - Method in class com.cookingfox.lapasse.impl.facade.LaPasseFacade
-
- handleCommand(Command) - Method in class com.cookingfox.lapasse.impl.facade.LaPasseFacadeDelegate
-
- HandleEvent - Annotation Type in com.cookingfox.lapasse.annotation
-
Indicates that the method with this annotation should be interpreted as a short-hand
EventHandler implementation.
- handleEvent(Event) - Method in interface com.cookingfox.lapasse.api.event.bus.EventBus
-
Execute the event handler that is mapped to this event type.
- handleEvent(Event) - Method in class com.cookingfox.lapasse.impl.event.bus.DefaultEventBus
-
- handleEvent(Event) - Method in class com.cookingfox.lapasse.impl.facade.LaPasseFacade
-
- handleEvent(Event) - Method in class com.cookingfox.lapasse.impl.facade.LaPasseFacadeDelegate
-
- handleMessage(M) - Method in interface com.cookingfox.lapasse.api.message.bus.MessageBus
-
Execute the message handler that is mapped to this message type.
- handleMessage(M) - Method in class com.cookingfox.lapasse.impl.message.bus.AbstractMessageBus
-
- handleMultiResult(Throwable, Command, Collection<Event>) - Method in class com.cookingfox.lapasse.impl.command.bus.DefaultCommandBus
-
Handle result from a 'multi' command handler.
- handleNewState(S, Event) - Method in interface com.cookingfox.lapasse.api.state.manager.StateManager
-
Validate and set a new state object.
- handleNewState(S, Event) - Method in class com.cookingfox.lapasse.impl.state.manager.DefaultStateManager
-
- handleResult(Throwable, Command, Event) - Method in class com.cookingfox.lapasse.impl.command.bus.DefaultCommandBus
-
Handle result from a 'single' command handler.
- HandlerMapper - Interface in com.cookingfox.lapasse.impl.internal
-
Internal helper interface that provides a hook for making command and event handler mappings.
- HandlerMapperInstantiationException - Exception in com.cookingfox.lapasse.impl.helper.exception
-
Thrown when an error occurs during the instantiation of a generated
HandlerMapper class.
- HandlerMapperInstantiationException(Constructor<? extends HandlerMapper>, Throwable) - Constructor for exception com.cookingfox.lapasse.impl.helper.exception.HandlerMapperInstantiationException
-