LOG.info( "Scanning modules for NamedWebTemplateProcessor instances" );
Collection<NamedWebTemplateProcessor> namedProcessors = beanRegistry.getBeansOfType(
NamedWebTemplateProcessor.class,
true );
WebTemplateRegistry registry = webTemplateRegistry();
for ( NamedWebTemplateProcessor webTemplateProcessor : namedProcessors ) {
registry.register( webTemplateProcessor );
}
}
}