commandHandler to the commandHandler registry.commandHandlers to the handler registry.Command interface represents a command the client can execute.CommandHandler interface defines methods which allow its implementations to do the actual
work of processing a concrete type of Command implementation and produce a response that
is a concerete implementation of CommandResponse.CommandHandlerDiscoverer interface defines a method that discovers all command handlers
within the system (however that's done), which implement CommandHandler interface.CommandHandlerRegistry interface defines methods for adding, removing, and retrieving
CommandHandlers based on the type of the Command.CommandHandlerVerifier class is a helper class that makes sure that a
CommandHandler is coded properly such that its string-based command type matches the
string-based type of the Java Command class that the handler is typed with.CommandResponse interface represents the response returned from executing a
Command.CommandWithJustType class represents a command, which contains only the
type property, to be used to deserialize the command string coming as payload of
the REST request.DefaultCommandHandlerRegistry class is the default implementation of the
CommandHandlerRegistry interface.CommandHandler interface.command, producing command response of class type which is embedded
in the type of command.commandHandler.CommandHandler for the type of the command.commandtype type of Command
from the handler registry.RestCommandHandlerDocumentation class represents REST JSON documentation for a CommandHandler.RestCommandHandlerDocumentationGenerator is a utility class that produces JSON-based
documentation for CommandHandlers.SpringCommandHandlerDiscoverer class is a Spring Framework implementation of the
CommandHandlerDiscoverer interface.SpringCommandHandlerRegistryFactory class creates a registry that contains automatically
discovered classes that implement CommandHandlers.SpringRestCommander class is a REST controller which wires itself to listen on
'/execute' URI, or a custom configured URI (through
'com.clearlydecoded.commander.endpoint.uri' property) and execute auto-discovered
command handlers which implemente the CommandHandler interface and are injected into
the Spring Context either manually or by using Spring annotations such as Service, Component, etc.Copyright © 2018. All rights reserved.