FunctionAccessorMetadata
Metadata describing a message function's properties and access patterns.
Contains all the information needed to invoke a message function reflectively, including supported types, topics, parameter kinds, and injection requirements.
Parameters
The processor type
The return type
Constructors
Properties
The function accessor for invocation
The bounded context name that this function belongs to.
How the first parameter should be extracted
The kind of function (COMMAND, EVENT, etc.)
The number of injectable parameters.
Array of parameters that need dependency injection
The name of the processor class.
The class of the processor.
The set of supported named aggregates
The class of supported message bodies
Functions
Extracts the first argument for function invocation based on the parameter kind.
Gets the context alias prefix for this bounded context.
Checks if a function matches the criteria specified by this NamedFunctionInfo. Used to determine if a wait strategy should be notified about a specific function execution. Returns true if all specified criteria (context, processor, name) match or are not specified.
Converts a function accessor metadata into after-command function metadata.
Converts FunctionAccessorMetadata to a MessageFunctionAccessor. Creates either a SimpleMessageFunctionAccessor or InjectableMessageFunctionAccessor based on whether the function has injectable parameters.