Polishing contribution
Closes gh-34942
This commit is contained in:
@@ -95,8 +95,7 @@ public abstract class BeanUtils {
|
||||
* @return the new instance
|
||||
* @throws BeanInstantiationException if the bean cannot be instantiated
|
||||
* @see Class#newInstance()
|
||||
* @deprecated as of Spring 5.0, following the deprecation of
|
||||
* {@link Class#newInstance()} in JDK 9
|
||||
* @deprecated following the deprecation of {@link Class#newInstance()} in JDK 9
|
||||
*/
|
||||
@Deprecated(since = "5.0")
|
||||
public static <T> T instantiate(Class<T> clazz) throws BeanInstantiationException {
|
||||
|
||||
@@ -97,8 +97,8 @@ public interface AutowireCapableBeanFactory extends BeanFactory {
|
||||
* Constant that indicates determining an appropriate autowire strategy
|
||||
* through introspection of the bean class.
|
||||
* @see #autowire
|
||||
* @deprecated as of Spring 3.0: If you are using mixed autowiring strategies,
|
||||
* prefer annotation-based autowiring for clearer demarcation of autowiring needs.
|
||||
* @deprecated If you are using mixed autowiring strategies, prefer
|
||||
* annotation-based autowiring for clearer demarcation of autowiring needs.
|
||||
*/
|
||||
@Deprecated(since = "3.0")
|
||||
int AUTOWIRE_AUTODETECT = 4;
|
||||
@@ -188,7 +188,7 @@ public interface AutowireCapableBeanFactory extends BeanFactory {
|
||||
* @see #AUTOWIRE_BY_NAME
|
||||
* @see #AUTOWIRE_BY_TYPE
|
||||
* @see #AUTOWIRE_CONSTRUCTOR
|
||||
* @deprecated as of 6.1, in favor of {@link #createBean(Class)}
|
||||
* @deprecated in favor of {@link #createBean(Class)}
|
||||
*/
|
||||
@Deprecated(since = "6.1")
|
||||
Object createBean(Class<?> beanClass, int autowireMode, boolean dependencyCheck) throws BeansException;
|
||||
|
||||
@@ -95,8 +95,8 @@ public abstract class AbstractBeanDefinition extends BeanMetadataAttributeAccess
|
||||
* Constant that indicates determining an appropriate autowire strategy
|
||||
* through introspection of the bean class.
|
||||
* @see #setAutowireMode
|
||||
* @deprecated as of Spring 3.0: If you are using mixed autowiring strategies,
|
||||
* use annotation-based autowiring for clearer demarcation of autowiring needs.
|
||||
* @deprecated If you are using mixed autowiring strategies, use
|
||||
* annotation-based autowiring for clearer demarcation of autowiring needs.
|
||||
*/
|
||||
@Deprecated(since = "3.0")
|
||||
public static final int AUTOWIRE_AUTODETECT = AutowireCapableBeanFactory.AUTOWIRE_AUTODETECT;
|
||||
|
||||
@@ -75,8 +75,8 @@ import org.springframework.util.StringUtils;
|
||||
* @author Rob Harrop
|
||||
* @since 26.11.2003
|
||||
* @see DefaultListableBeanFactory
|
||||
* @deprecated as of 5.3, in favor of Spring's common bean definition formats
|
||||
* and/or custom reader implementations
|
||||
* @deprecated in favor of Spring's common bean definition formats and/or
|
||||
* custom reader implementations
|
||||
*/
|
||||
@Deprecated(since = "5.3")
|
||||
public class PropertiesBeanDefinitionReader extends AbstractBeanDefinitionReader {
|
||||
|
||||
Reference in New Issue
Block a user