Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionas of 5.2, along with
PropertyPlaceholderConfigurer; to be removed in 8.0as of 5.2, to be removed in 8.0; useorg.springframework.context.support.PropertySourcesPlaceholderConfigurerinstead which is more flexible through taking advantage of theEnvironmentandPropertySourcemechanisms.
-
Deprecated ClassesClassDescriptionas of 5.2, along with
PropertyPlaceholderConfigurer; to be removed in 8.0as of 5.2, to be removed in 8.0; useorg.springframework.context.support.PropertySourcesPlaceholderConfigurerinstead which is more flexible through taking advantage of theEnvironmentandPropertySourcemechanisms.in favor of Spring's common bean definition formats and/or custom reader implementations
-
Deprecated FieldsFieldDescriptionIf you are using mixed autowiring strategies, prefer annotation-based autowiring for clearer demarcation of autowiring needs.If you are using mixed autowiring strategies, use annotation-based autowiring for clearer demarcation of autowiring needs.
-
Deprecated MethodsMethodDescriptionfollowing the deprecation of
Class.newInstance()in JDK 9as of 6.1, in favor of implicit post-processing throughAutowireCapableBeanFactory.initializeBean(Object, String)as of 6.1, in favor of implicit post-processing throughAutowireCapableBeanFactory.initializeBean(Object, String)in favor ofAutowireCapableBeanFactory.createBean(Class)as of 6.2, in favor of lenient singleton locking (with this method returning an arbitrary object to lock on)in favor ofRegisteredBean.resolveInstantiationDescriptor()
-
Deprecated ConstructorsConstructorDescriptionas of 6.0.11, in favor of an extra
RootBeanDefinition.setTargetType(ResolvableType)call