org.enodeframework.domain.IAggregateRootInternalHandlerProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enode Show documentation
Show all versions of enode Show documentation
The enodeframework core implementation.
package org.enodeframework.domain
import org.enodeframework.common.function.Action2
import org.enodeframework.eventing.IDomainEvent
/**
* Defines a provider interface to provide the aggregate root internal handler.
*/
interface IAggregateRootInternalHandlerProvider {
/**
* Get the internal event handler within the aggregate.
*/
fun getInternalEventHandler(aggregateRootType: Class, eventType: Class>): Action2>?
}