private List<DeclareInstanceResolver> instanceResolverList = new ArrayList<>();
public WebApplicationConfiguration() {
this.setTemplateResolver(new WebApplicationTemplateResolver());
this.setContextDataFinder(new WebApplicationContextDataFinder());
this.setRequestHandlerInvokerFactory(new DefaultRequestHandlerInvokerFactory());
// we only allow request scope being reversely injected
List<String> reverseInjectableScopes = new ArrayList<>();
reverseInjectableScopes.add(WebApplicationContext.SCOPE_REQUEST);
this.setReverseInjectableScopes(reverseInjectableScopes);