Fixed addProtocolResolver signature in ConfigurableApplicationContext

Issue: SPR-12857
Issue: SPR-13905
This commit is contained in:
Juergen Hoeller 2016-02-11 22:47:41 +01:00
parent f6ebc4ce97
commit 0dff782402
1 changed files with 2 additions and 2 deletions

View File

@ -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,