Versions Compared

Key

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

...

  • Injection can occur in many places: on fields, and on parameters to methods and constructors of certain objects.
  • Parts of Injection are themselves defined in terms of Tapestry IoC services, many of which are extensible.

Despite this, injection generally Just Works: most of the time, you want Tapestry to inject a service, and only a single service implements the service interface.

This document discusses what to do when you hit a case that doesn't Just Work, or when you want to extend the injection logic in some way.

...