public class ApplicationContextJeeConfig extends Object implements org.apache.velocity.tools.view.JeeConfig
VelocityRenderer#setParameter(String, String)
.Constructor and Description |
---|
ApplicationContextJeeConfig(ApplicationContext applicationContext,
Map<String,String> params)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
findInitParameter(String key) |
String |
getInitParameter(String name) |
Enumeration<String> |
getInitParameterNames() |
String |
getName() |
ServletContext |
getServletContext() |
public ApplicationContextJeeConfig(ApplicationContext applicationContext, Map<String,String> params)
applicationContext
- The application context.params
- Configuration parameters.public String getInitParameter(String name)
getInitParameter
in interface org.apache.velocity.tools.view.JeeConfig
public String findInitParameter(String key)
findInitParameter
in interface org.apache.velocity.tools.view.JeeConfig
public Enumeration<String> getInitParameterNames()
getInitParameterNames
in interface org.apache.velocity.tools.view.JeeConfig
public String getName()
getName
in interface org.apache.velocity.tools.view.JeeConfig
public ServletContext getServletContext()
getServletContext
in interface org.apache.velocity.tools.view.JeeConfig
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.