Comment on page
Supported Parameters for Annotated Handlers
This chapter provides an exhaustive list of all the possible parameters for annotated message handling functions. The framework resolves the parameters for any message handling function through an internal mechanism, called the
ParameterResolver, built by a
ParameterResolverFactory, is in charge of inserting the parameters for the command, event and query handlers.
The set of
ParameterResolvers can be extended if custom (or not yet) supported parameters should be injected in to your annotated handlers. You can configure additional
ParameterResolvers by implementing the
ParameterResolverFactoryinterface and configuring the new implementation. For more specifics on configuring custom
ParameterResolvers we suggest reading this section.
@CommandHandlerannotated methods allow the following parameter types.
@EventHandlerannotated methods allow the following parameter types.
@QueryHandlerannotated methods allow the following parameter types.