When configuring beans in configuration file, the 'autowire-candidate' attribute of the <bean/> element can be set to 'false'; so that this bean can not be made available for auto wiring infrastructure.