public interface HandlerDefinition
MessageHandler instance to invoke the method.| Modifier and Type | Method and Description |
|---|---|
<T> Optional<MessageHandlingMember<T>> |
createHandler(Class<T> declaringType,
Executable executable,
ParameterResolverFactory parameterResolverFactory)
Create a
MessageHandlingMember for the given executable method. |
<T> Optional<MessageHandlingMember<T>> createHandler(@Nonnull Class<T> declaringType, @Nonnull Executable executable, @Nonnull ParameterResolverFactory parameterResolverFactory)
MessageHandlingMember for the given executable method. Use the given parameterResolverFactory to resolve the method's parameters.T - The type of the declaring objectdeclaringType - The type of object declaring the given executable methodexecutable - The method to inspectparameterResolverFactory - Factory for a ParameterResolver of the methodCopyright © 2010–2023. All rights reserved.