
com.opencredo.concursus.mapping.commands.methods.dispatching.CommandHandlerSubscribable Maven / Gradle / Ivy
The newest version!
package com.opencredo.concursus.mapping.commands.methods.dispatching;
@FunctionalInterface
public interface CommandHandlerSubscribable {
/**
* Subscribe a command handler to this object.
* @param handlerClass The command-issuing interface to dispatch commands for.
* @param commandHandler The command handler that implements the interface.
* @param The type of the command-issuing interface.
* @return This object, for method chaining.
*/
CommandHandlerSubscribable subscribe(Class extends H> handlerClass, H commandHandler);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy