Category: Spring Core

spring framework tutorials

Spring Exclude Bean From Autowiring

This tutorial shows you how to exclude beans from autowiring. The <beans/> element has a autowire-candidate attribute which you can set to false to tell the container to make the bean unavailable for autowiring. Beans...
spring framework tutorials

Spring Autowire By Constructor

This tutorial shows how to use spring autowire by constructor. When the autowire by constructor is enabled -which is actually analogous to autowire by type, but applies to constructor arguments- spring will autowire a property...
spring framework tutorials

Spring Autowire By Type

This tutorial shows how to use spring autowire by type. When the autowire by type is enabled, spring will autowire a property if exactly one bean of the property type exists in the container. If...