AdmissionPlugins
data class AdmissionPlugins(val authorizer: CommandAuthorizer? = null, val transformers: List<CommandTransformer> = emptyList(), val validators: List<CommandValidator> = emptyList(), val ids: IdGenerators = IdGenerators.DEFAULT, val tenants: TenantPolicy = TenantPolicy.CALLERS, val policies: WritePolicies = WritePolicies.NONE)
The admission plug-ins of a node's me.ahoo.wow.runtime.admission.CommandGateway, and the tenants of its aggregate types. ids are the node's id generators: admission's command and aggregate ids, the wait ids, and the ids its decide functions and sagas take. authorizer is null when the application gives none (me.ahoo.wow.runtime.admission.CommandGateway.authorizes). policies are the access policies the node's kernel holds each command to, before and after deciding.
Constructors
Link copied to clipboard
constructor(authorizer: CommandAuthorizer? = null, transformers: List<CommandTransformer> = emptyList(), validators: List<CommandValidator> = emptyList(), ids: IdGenerators = IdGenerators.DEFAULT, tenants: TenantPolicy = TenantPolicy.CALLERS, policies: WritePolicies = WritePolicies.NONE)