Fixed addProtocolResolver signature in ConfigurableApplicationContext

Issue: SPR-12857
Issue: SPR-13905
master
Juergen Hoeller 9 years ago
parent f6ebc4ce97
commit 0dff782402
  1. 4
      spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java

@ -131,13 +131,13 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life
void addApplicationListener(ApplicationListener<?> listener); 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. * allowing for additional resource protocols to be handled.
* <p>Any such resolver will be invoked ahead of this context's standard * <p>Any such resolver will be invoked ahead of this context's standard
* resolution rules. It may therefore also override any default rules. * resolution rules. It may therefore also override any default rules.
* @since 4.3 * @since 4.3
*/ */
void addResourceResolver(ProtocolResolver protocolHandler); void addProtocolResolver(ProtocolResolver resolver);
/** /**
* Load or refresh the persistent representation of the configuration, * Load or refresh the persistent representation of the configuration,

Loading…
Cancel
Save