alexey-krylov / axon-guice Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/axon-guice
License: Apache License 2.0
Automatically exported from code.google.com/p/axon-guice
License: Apache License 2.0
Axon 2.1 changes some things used in axon-guice. One of these is that
ParameterResolverFactory is now an interface, so GuiceParameterResolverFactory
can no longer extend it (it was an abstract class).
Please see following commits :
- https://github.com/AxonFramework/AxonFramework/commit/1bcb3468df5f448388d470c02c1caa542a0ac00a
- https://github.com/AxonFramework/AxonFramework/commit/cb5110af1b8098fb1b4ab4283eac285ddd679c07
- https://github.com/AxonFramework/AxonFramework/commit/61af06976b3ddf33ba4bcb9061f7a70bf1567b1c
Original issue reported on code.google.com by [email protected]
on 11 Mar 2014 at 9:33
First, thanks for this project. I was about to recreate it for my app.
What steps will reproduce the problem?
I have a command handler annotated with @CommandHandlerComponent.
When I use the AxonGuiceModule to initialize the app, I see from the logs that
my command handler is Found. However, when I start the application, I get an
error that the handler was not registered with the CommandBus.
What is the expected output? What do you see instead?
No errors.
What version of the product are you using? On what operating system?
1.0
Please provide any additional information below.
My workaround is to Eager bind the command handler
/*
* (non-Javadoc)
* @see
* com.google.code.axonguice.commandhandling
* .CommandHandlingModule#bindCommandHandler(java
* .lang.Class)
*/
@Override
protected void bindCommandHandler(Class<?> handlerClass) {
@SuppressWarnings("rawtypes")
Provider commandHandlerProvider =
new AnnotationCommandHandlerProvider(handlerClass);
requestInjection(commandHandlerProvider);
bind(handlerClass).toProvider(commandHandlerProvider)
.asEagerSingleton();
}
Original issue reported on code.google.com by [email protected]
on 1 Oct 2013 at 10:52
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.