| 1 |
|
package org.kuali.spring.util; |
| 2 |
|
|
| 3 |
|
import org.springframework.beans.BeanUtils; |
| 4 |
|
import org.springframework.beans.BeansException; |
| 5 |
|
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; |
| 6 |
|
import org.springframework.util.Assert; |
| 7 |
|
|
|
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 3 |
Complexity Density: 0.6 |
|
| 8 |
|
public class DelegatingPropertyPlaceholderConfigurer extends ConfigurablePropertyPlaceholderConfigurer { |
| 9 |
|
|
| 10 |
|
ConfigurablePropertyPlaceholderConfigurer delegate; |
| 11 |
|
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
| 12 |
0
|
@Override... |
| 13 |
|
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException { |
| 14 |
0
|
Assert.notNull(delegate); |
| 15 |
0
|
BeanUtils.copyProperties(this, delegate); |
| 16 |
0
|
delegate.postProcessBeanFactory(beanFactory); |
| 17 |
|
} |
| 18 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 19 |
0
|
public ConfigurablePropertyPlaceholderConfigurer getDelegate() {... |
| 20 |
0
|
return delegate; |
| 21 |
|
} |
| 22 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 23 |
0
|
public void setDelegate(ConfigurablePropertyPlaceholderConfigurer delegate) {... |
| 24 |
0
|
this.delegate = delegate; |
| 25 |
|
} |
| 26 |
|
|
| 27 |
|
} |