Updated resolvePath javadoc to reflect Environment-based placeholder resolution
Issue: SPR-9455
This commit is contained in:
parent
4c823a3f9b
commit
ede9d535ea
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -17,7 +17,6 @@
|
|||
package org.springframework.context.support;
|
||||
|
||||
import org.springframework.beans.factory.BeanNameAware;
|
||||
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.util.Assert;
|
||||
|
@ -114,12 +113,13 @@ public abstract class AbstractRefreshableConfigApplicationContext extends Abstra
|
|||
|
||||
/**
|
||||
* Resolve the given path, replacing placeholders with corresponding
|
||||
* system property values if necessary. Applied to config locations.
|
||||
* environment property values if necessary. Applied to config locations.
|
||||
* @param path the original file path
|
||||
* @return the resolved file path
|
||||
* @see org.springframework.core.env.Environment#resolveRequiredPlaceholders(String)
|
||||
*/
|
||||
protected String resolvePath(String path) {
|
||||
return this.getEnvironment().resolveRequiredPlaceholders(path);
|
||||
return getEnvironment().resolveRequiredPlaceholders(path);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue