All Downloads are FREE. Search and download functionalities are using the official Maven repository.

co.com.sofka.infraestructure.bus.CommandBus Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package co.com.sofka.infraestructure.bus;

import co.com.sofka.domain.generic.Command;
import co.com.sofka.infraestructure.handle.HandlerExecutionError;

/**
 * The interface Command bus.
 */
@FunctionalInterface
public interface CommandBus {
    /**
     * Dispatch.
     *
     * @param command the command
     * @throws HandlerExecutionError the handler execution error
     */
    void dispatch(Command command) throws HandlerExecutionError;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy