Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor rewording, added annotation link

...

Tapestry is designed to be easy to customize, and the IoC container is the key to that customizability.

Part One of Tapestry's core functionality most important activities is resolving injected objects; that is, when Tapestry is building an object or service and sees a constructor parameter or a field, it must decide on what value to plug in? . Most of the time, the injected object is a service defined elsewhere within the Tapestry IoC container.

...

The strategy used to determine what object gets injected where is defined inside Tapestry IoC itself; thus we can take advantage of several features of the Tapestry IoC container in order to take control over specific injections.

...

In most cases, services are injected by matching just the type; there no @InjectService @InjectService annotation, just a method or constructor parameter whose type matches the service's interface.

...