Versions Compared

Key

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

...

To select a back-end implementation, you set the property 'guice.backend.module' in the Roller configuration file the the class name of a Guice module that specifies the Roller interfaces. The RollerFactory will instantiate that Guice module and will use it to create and inject the Roller implementation specified by that module. Here's the code for RollerFactory.java.

And here's the code for the Guice module for the Hibernate back-end: RollerModule.java.

...