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

pro.jk.ejoker.eventing.EventCommittingContext Maven / Gradle / Ivy

package pro.jk.ejoker.eventing;

import pro.jk.ejoker.commanding.ProcessingCommand;

public class EventCommittingContext {
	
	private EventCommittingContextMailBox  mailBox;
	
	private DomainEventStream eventStream;
	
	private ProcessingCommand processingCommand;
	
	public EventCommittingContextMailBox getMailBox() {
		return mailBox;
	}

	public void setMailBox(EventCommittingContextMailBox mailbox) {
		this.mailBox = mailbox;
	}
	
	public DomainEventStream getEventStream() {
		return eventStream;
	}

	public ProcessingCommand getProcessingCommand() {
		return processingCommand;
	}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy