-
Terminally Deprecated Elements
-
Deprecated ClassesClassDescriptionas of 5.2, along with
PropertyPlaceholderConfigureras of 5.2; useorg.springframework.context.support.PropertySourcesPlaceholderConfigurerinstead which is more flexible through taking advantage of theEnvironmentandPropertySourcemechanisms.as of 5.3, in favor of Spring's common bean definition formats and/or custom reader implementations
-
Deprecated FieldsFieldDescriptionas of Spring 3.0: If you are using mixed autowiring strategies, prefer annotation-based autowiring for clearer demarcation of autowiring needs.as of Spring 3.0: If you are using mixed autowiring strategies, use annotation-based autowiring for clearer demarcation of autowiring needs.
-
Deprecated MethodsMethodDescriptionas of Spring 5.0, following the deprecation of
Class.newInstance()in JDK 9in favor ofBeanInstanceSupplier.withShortcut(String...)as 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)as of 6.1, 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
BeanInstanceSupplier.withGenerator(ThrowingFunction)