Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you see the jms() method of the Guice MyModule you will see it is annotated with @Provides to indicate to Guice that it is a provider and it is annotated with @JndiBind("jms") to bind it to the JNDI name jms when it is created.

...