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

org.enodeframework.eventing.EventCommittingContext Maven / Gradle / Ivy

There is a newer version: 1.1.10
Show newest version
package org.enodeframework.eventing;

import org.enodeframework.commanding.ProcessingCommand;

/**
 * @author [email protected]
 */
public class EventCommittingContext {
    private EventCommittingContextMailBox mailBox;
    private DomainEventStream eventStream;
    private ProcessingCommand processingCommand;

    public EventCommittingContext(DomainEventStream eventStream, ProcessingCommand processingCommand) {
        this.eventStream = eventStream;
        this.processingCommand = processingCommand;
    }

    public DomainEventStream getEventStream() {
        return eventStream;
    }

    public ProcessingCommand getProcessingCommand() {
        return processingCommand;
    }

    public EventCommittingContextMailBox getMailBox() {
        return mailBox;
    }

    public void setMailBox(EventCommittingContextMailBox mailBox) {
        this.mailBox = mailBox;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy