|
1 | 1 | /**
|
2 |
| - * Copyright 2010-2019 the original author or authors. |
| 2 | + * Copyright 2010-2020 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.
|
@@ -191,7 +191,7 @@ public void setMarkerInterface(Class<?> superClass) {
|
191 | 191 | * Specifies which {@code SqlSessionTemplate} to use in the case that there is more than one in the spring context.
|
192 | 192 | * Usually this is only needed when you have more than one datasource.
|
193 | 193 | * <p>
|
194 |
| - * |
| 194 | + * |
195 | 195 | * @deprecated Use {@link #setSqlSessionTemplateBeanName(String)} instead
|
196 | 196 | *
|
197 | 197 | * @param sqlSessionTemplate
|
@@ -222,7 +222,7 @@ public void setSqlSessionTemplateBeanName(String sqlSessionTemplateName) {
|
222 | 222 | * Specifies which {@code SqlSessionFactory} to use in the case that there is more than one in the spring context.
|
223 | 223 | * Usually this is only needed when you have more than one datasource.
|
224 | 224 | * <p>
|
225 |
| - * |
| 225 | + * |
226 | 226 | * @deprecated Use {@link #setSqlSessionFactoryBeanName(String)} instead.
|
227 | 227 | *
|
228 | 228 | * @param sqlSessionFactory
|
@@ -253,7 +253,7 @@ public void setSqlSessionFactoryBeanName(String sqlSessionFactoryName) {
|
253 | 253 | * Specifies a flag that whether execute a property placeholder processing or not.
|
254 | 254 | * <p>
|
255 | 255 | * The default is {@literal false}. This means that a property placeholder processing does not execute.
|
256 |
| - * |
| 256 | + * |
257 | 257 | * @since 1.1.1
|
258 | 258 | *
|
259 | 259 | * @param processPropertyPlaceHolders
|
@@ -329,7 +329,7 @@ public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
|
329 | 329 |
|
330 | 330 | /**
|
331 | 331 | * {@inheritDoc}
|
332 |
| - * |
| 332 | + * |
333 | 333 | * @since 1.0.2
|
334 | 334 | */
|
335 | 335 | @Override
|
@@ -364,7 +364,8 @@ public void postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry) {
|
364 | 364 | * definition. Then update the values.
|
365 | 365 | */
|
366 | 366 | private void processPropertyPlaceHolders() {
|
367 |
| - Map<String, PropertyResourceConfigurer> prcs = applicationContext.getBeansOfType(PropertyResourceConfigurer.class); |
| 367 | + Map<String, PropertyResourceConfigurer> prcs = applicationContext.getBeansOfType(PropertyResourceConfigurer.class, |
| 368 | + false, false); |
368 | 369 |
|
369 | 370 | if (!prcs.isEmpty() && applicationContext instanceof ConfigurableApplicationContext) {
|
370 | 371 | BeanDefinition mapperScannerBean = ((ConfigurableApplicationContext) applicationContext).getBeanFactory()
|
|
0 commit comments