Introduce getType variant with allowFactoryBeanInit flag
Closes gh-23374
This commit is contained in:
@@ -221,6 +221,11 @@ class StubWebApplicationContext implements WebApplicationContext {
|
||||
return this.beanFactory.getType(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getType(String name, boolean allowFactoryBeanInit) throws NoSuchBeanDefinitionException {
|
||||
return this.beanFactory.getType(name, allowFactoryBeanInit);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getAliases(String name) {
|
||||
return this.beanFactory.getAliases(name);
|
||||
|
||||
Reference in New Issue
Block a user