Browse Source

Updated resolvePath javadoc to reflect Environment-based placeholder resolution

Issue: SPR-9455
pull/201/head
Juergen Hoeller 12 years ago committed by unknown
parent
commit
ede9d535ea
  1. 8
      spring-context/src/main/java/org/springframework/context/support/AbstractRefreshableConfigApplicationContext.java

8
spring-context/src/main/java/org/springframework/context/support/AbstractRefreshableConfigApplicationContext.java

@ -1,5 +1,5 @@ @@ -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 @@ @@ -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 @@ -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…
Cancel
Save