@Configuration @ConditionalOnClass(value=) @ConditionalOnWebApplication public static class VelocityAutoConfiguration.VelocityWebConfiguration extends VelocityAutoConfiguration.VelocityConfiguration
properties
Constructor and Description |
---|
VelocityAutoConfiguration.VelocityWebConfiguration() |
Modifier and Type | Method and Description |
---|---|
VelocityConfigurer |
velocityConfigurer() |
VelocityEngine |
velocityEngine(VelocityConfigurer configurer) |
VelocityViewResolver |
velocityViewResolver() |
applyProperties
public VelocityAutoConfiguration.VelocityWebConfiguration()
@Bean @ConditionalOnMissingBean(value=) public VelocityConfigurer velocityConfigurer()
@Bean public VelocityEngine velocityEngine(VelocityConfigurer configurer) throws VelocityException, IOException
VelocityException
IOException
@Bean @ConditionalOnMissingBean(name="velocityViewResolver") public VelocityViewResolver velocityViewResolver()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.