Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added {scrollbar} nav element

...

Note that only dependencies are settable this way; if you want resources, including the service's configuration, you must pass those through the constructor. You are free to mix and match, injecting partially with field injection and partially with constructor injection.

...

No annotation is needed for these cases.

See also service configuration for additional special cases of resources that can be injected.

...