org.enodeframework.commanding.CommandHandlerProvider.kt Maven / Gradle / Ivy
package org.enodeframework.commanding
import org.enodeframework.messaging.MessageHandlerData
/**
* Represents a provider to provide the command handlers.
*/
interface CommandHandlerProvider {
/**
* Get all the handlers for the given command type.
*/
fun getHandlers(commandType: Class<*>): List>
}