We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bfb017 commit 5d8fc74Copy full SHA for 5d8fc74
cometd-java/cometd-java-annotations/src/test/java/org/cometd/java/annotation/guice/CometDModule.java
@@ -22,5 +22,9 @@ protected void configure()
22
bind(BayeuxServerImpl.class).in(Singleton.class);
23
// Binds the interface to the implementation class
24
bind(BayeuxServer.class).to(BayeuxServerImpl.class);
25
+
26
+ // Services do not need to be configured here, since
27
+ // they are normally not injected anywhere, but just instantiated
28
+ // via Injector.getInstance()
29
}
30
0 commit comments