Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

...

The current use of this API is by a CheckingContextListener which means of the ICheckRunner interface. There are two implementations of this interface. BasicCheckRunner simply and safely executes a configured List of ICheck instances. SafeDelegatingCheckRunner checks its own dependencies (checks that Spring itself is present via the SpringPresenceCheck and then uses the SpringBeanCheck to check that the SafeDelegatingCheckRunner has been properly configured via Spring to have a List of IChecks to run.Spring and a particular Spring-configured instance of ICheckRunner) and then delegates to that Spring-configured instance of ICheckRunner to execute configured checks.

A CheckingContextListener executes SafeDelegatingCheckRunner and then logs its results. The CheckingContextListener packages up the results of running these IChecks and exposes them in the ServletContext as a List of CheckAndResult objects, which are just simple JavaBeans that package together CheckResults with a description of the ICheck that was run to obtain the result.

...