Package org.axonframework.commandhandling.annotation

Examples of org.axonframework.commandhandling.annotation.AnnotationCommandTargetResolver


        this.waitStrategy = new BlockingWaitStrategy();
        coolingDownPeriod = 1000;
        cache = NoCache.INSTANCE;
        rescheduleCommandsOnCorruptState = true;
        rollbackConfiguration = new RollbackOnUncheckedExceptionConfiguration();
        commandTargetResolver = new AnnotationCommandTargetResolver();
    }
View Full Code Here


    private void registerAggregateCommandHandlers() {
        ensureRepositoryConfiguration();
        if (!explicitCommandHandlersSet) {
            AggregateAnnotationCommandHandler<T> handler =
                    new AggregateAnnotationCommandHandler<T>(aggregateType, repository,
                                                             new AnnotationCommandTargetResolver());
            for (String supportedCommand : handler.supportedCommands()) {
                commandBus.subscribe(supportedCommand, handler);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.axonframework.commandhandling.annotation.AnnotationCommandTargetResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.