Skip to content

Commit 5d8fc74

Browse files
author
Simone Bordet
committed
Comments.
1 parent 0bfb017 commit 5d8fc74

File tree

1 file changed

+4
-0
lines changed
  • cometd-java/cometd-java-annotations/src/test/java/org/cometd/java/annotation/guice

1 file changed

+4
-0
lines changed

cometd-java/cometd-java-annotations/src/test/java/org/cometd/java/annotation/guice/CometDModule.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,9 @@ protected void configure()
2222
bind(BayeuxServerImpl.class).in(Singleton.class);
2323
// Binds the interface to the implementation class
2424
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()
2529
}
2630
}

0 commit comments

Comments
 (0)