@Configuration @ConditionalOnClass(value=javax.servlet.Servlet.class) @ConditionalOnWebApplication public static class VelocityAutoConfiguration.VelocityWebConfiguration extends VelocityAutoConfiguration.VelocityConfiguration
properties| Constructor and Description |
|---|
VelocityAutoConfiguration.VelocityWebConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.view.velocity.VelocityConfigurer |
velocityConfigurer() |
org.apache.velocity.app.VelocityEngine |
velocityEngine(org.springframework.web.servlet.view.velocity.VelocityConfigurer configurer) |
org.springframework.web.servlet.view.velocity.VelocityViewResolver |
velocityViewResolver() |
applyPropertiespublic VelocityAutoConfiguration.VelocityWebConfiguration()
@Bean @ConditionalOnMissingBean(value=org.springframework.web.servlet.view.velocity.VelocityConfig.class) public org.springframework.web.servlet.view.velocity.VelocityConfigurer velocityConfigurer()
@Bean
public org.apache.velocity.app.VelocityEngine velocityEngine(org.springframework.web.servlet.view.velocity.VelocityConfigurer configurer)
throws org.apache.velocity.exception.VelocityException,
IOException
org.apache.velocity.exception.VelocityExceptionIOException@Bean @ConditionalOnMissingBean(name="velocityViewResolver") public org.springframework.web.servlet.view.velocity.VelocityViewResolver velocityViewResolver()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.