diff --git a/spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java b/spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java index cbbd3bfe62..7cfeb9e246 100644 --- a/spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java +++ b/spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java @@ -131,13 +131,13 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life void addApplicationListener(ApplicationListener listener); /** - * Register the given resource resolver with this application context, + * Register the given protocol resolver with this application context, * allowing for additional resource protocols to be handled. *

Any such resolver will be invoked ahead of this context's standard * resolution rules. It may therefore also override any default rules. * @since 4.3 */ - void addResourceResolver(ProtocolResolver protocolHandler); + void addProtocolResolver(ProtocolResolver resolver); /** * Load or refresh the persistent representation of the configuration,