public synchronized FixtureConfiguration<T> registerAnnotatedCommandHandler(final Object annotatedCommandHandler) {
registerAggregateCommandHandlers();
explicitCommandHandlersSet = true;
AnnotationCommandHandlerAdapter adapter = new AnnotationCommandHandlerAdapter(
annotatedCommandHandler, ClasspathParameterResolverFactory.forClass(aggregateType));
for (String supportedCommand : adapter.supportedCommands()) {
commandBus.subscribe(supportedCommand, adapter);
}
return this;
}