Injecting object into Spring Configuration
问题 I am turning old xml/java configuration into pure java config. In xml I used injection of parameters into configuration file like this: <bean class="com.project.SpringRestConfiguration"> <property name="parameters" ref="parameters" /> </bean> @Configuration public class SpringRestConfiguration { private Parameters parameters; public void setParameters(Parameters parameters) { this.parameters = parameters; } // @Bean definitions ... } Is it possible to inject Parameters in javaconfig? (Without