TiiToo / vegas

Automatically exported from code.google.com/p/vegas
1 stars 0 forks source link

IoC : Autowiring modes in the config of the factory #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Add the Autowiring mode with the config.autowiring property and an
enumeration of AutoWiring modes :

- "none" : 0

No autowiring at all. Bean references must be defined via a ref element.
This is the default, and changing this is discouraged for larger
deployments, since explicitly specifying collaborators gives greater
control and clarity. To some extent, it is a form of documentation about
the structure of a system.

- "byId" : 1

Autowiring by id. This option will inspect the container and look for an
object definition named exactly the same as the id which needs to be autowired.

Original issue reported on code.google.com by ekamel...@gmail.com on 24 Nov 2009 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by ekamel...@gmail.com on 3 Dec 2009 at 3:24

GoogleCodeExporter commented 9 years ago

Original comment by ekamel...@gmail.com on 30 Aug 2010 at 2:57