Versions Compared

Key

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

...

name

Auto-wire by matching the name of the bean in Spring with the name of the property in your action. This is the default

type

Auto-wire by looking for a bean registered with Spring of the same type as the property in your action. This requires you to have only one bean of this type registered with Spring

auto

Spring will attempt to auto-detect the best method for auto-wiring your action

constructor

Spring will auto-wire the parameters of the bean's constructor

no

Turn off externally defined autowiring. Annotation-driven injection and injection based on Springs *Aware-interfaces still applies

By default, the framework will at least try to use Spring to create all its objects. If the object cannot be created by Spring, then the framework will create the object itself.

...