站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

VelocityConfig (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.web.servlet.view.velocity
Interface VelocityConfig

All Known Implementing Classes:
VelocityConfigurer

public interface VelocityConfig

Interface to be implemented by objects that configure and manage a VelocityEngine for automatic lookup in a web environment. Detected and used by VelocityView.

Author:
Rod Johnson
See Also:
VelocityConfigurer, VelocityView

Method Summary
 org.apache.velocity.app.VelocityEngine getVelocityEngine()
          Return the VelocityEngine for the current web application context.
 

Method Detail

getVelocityEngine

org.apache.velocity.app.VelocityEngine getVelocityEngine()
Return the VelocityEngine for the current web application context. May be unique to one servlet, or shared in the root context.

Returns:
the VelocityEngine

The Spring Framework

Copyright © 2002-2007 The Spring Framework.