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.
Since:
6.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.velocity.app.VelocityEngine
    Return the VelocityEngine for the current web application context.
  • Method Details

    • getVelocityEngine

      @Nonnull 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