Versions Compared

Key

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

...

List and describe new manager methods, Struts actions, JSP pages, macros, etc.

Changes to Roller

...

Weblogger bootstrapping

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.

...

Changes to Roller Planet bootstrapping

Roller Planet uses the very same setup as Roller Weblogger. As you'd expect there is a PlanetFactory, which uses a PlanetModule to initialize Guice and create injected instances.

...

Changes to Roller Weblogger's Planet integration

The PlanetFactory uses the Guice back-end specified in the planet.properties file. In To use Planet in Roller we need simply provide a special different PlanetModule, one with a Planet implementation that can read reads database parameters from the Roller properties file instead of the Planet one.

...