|
1 | 1 | /* |
2 | | - * Copyright 2002-2020 the original author or authors. |
| 2 | + * Copyright 2002-2021 the original author or authors. |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
|
84 | 84 | * (only applicable when running in a web application context) |
85 | 85 | * <li>{@code postProcessBeforeInitialization} methods of BeanPostProcessors |
86 | 86 | * <li>InitializingBean's {@code afterPropertiesSet} |
87 | | - * <li>a custom init-method definition |
| 87 | + * <li>a custom {@code init-method} definition |
88 | 88 | * <li>{@code postProcessAfterInitialization} methods of BeanPostProcessors |
89 | 89 | * </ol> |
90 | 90 | * |
91 | 91 | * <p>On shutdown of a bean factory, the following lifecycle methods apply: |
92 | 92 | * <ol> |
93 | 93 | * <li>{@code postProcessBeforeDestruction} methods of DestructionAwareBeanPostProcessors |
94 | 94 | * <li>DisposableBean's {@code destroy} |
95 | | - * <li>a custom destroy-method definition |
| 95 | + * <li>a custom {@code destroy-method} definition |
96 | 96 | * </ol> |
97 | 97 | * |
98 | 98 | * @author Rod Johnson |
|
102 | 102 | * @see BeanNameAware#setBeanName |
103 | 103 | * @see BeanClassLoaderAware#setBeanClassLoader |
104 | 104 | * @see BeanFactoryAware#setBeanFactory |
105 | | - * @see org.springframework.context.ResourceLoaderAware#setResourceLoader |
106 | 105 | * @see org.springframework.context.EnvironmentAware#setEnvironment |
107 | 106 | * @see org.springframework.context.EmbeddedValueResolverAware#setEmbeddedValueResolver |
| 107 | + * @see org.springframework.context.ResourceLoaderAware#setResourceLoader |
108 | 108 | * @see org.springframework.context.ApplicationEventPublisherAware#setApplicationEventPublisher |
109 | 109 | * @see org.springframework.context.MessageSourceAware#setMessageSource |
110 | 110 | * @see org.springframework.context.ApplicationContextAware#setApplicationContext |
|
113 | 113 | * @see InitializingBean#afterPropertiesSet |
114 | 114 | * @see org.springframework.beans.factory.support.RootBeanDefinition#getInitMethodName |
115 | 115 | * @see org.springframework.beans.factory.config.BeanPostProcessor#postProcessAfterInitialization |
| 116 | + * @see org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor#postProcessBeforeDestruction |
116 | 117 | * @see DisposableBean#destroy |
117 | 118 | * @see org.springframework.beans.factory.support.RootBeanDefinition#getDestroyMethodName |
118 | 119 | */ |
|
0 commit comments