|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.tools.view.JeeContextConfig
public class JeeContextConfig
Implements JeeConfig with only a ServletContext.
| Field Summary | |
|---|---|
protected ServletContext |
context
|
| Constructor Summary | |
|---|---|
JeeContextConfig(ServletContext context)
|
|
| Method Summary | |
|---|---|
String |
findInitParameter(String key)
Only checks the ServletContext's init-params
for the specified parameter. |
String |
getInitParameter(String name)
Returns an initialization parameter. |
Enumeration |
getInitParameterNames()
Returns all the parameter names. |
String |
getName()
Returns the name of the servlet (or filter) being used. |
ServletContext |
getServletContext()
Returns the servlet context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ServletContext context
| Constructor Detail |
|---|
public JeeContextConfig(ServletContext context)
| Method Detail |
|---|
public String getInitParameter(String name)
getInitParameter in interface JeeConfigname - The name of the initialization parameter.
public String findInitParameter(String key)
ServletContext's init-params
for the specified parameter.
findInitParameter in interface JeeConfigkey - The name of the initialization parameter.
public Enumeration getInitParameterNames()
getInitParameterNames in interface JeeConfigpublic String getName()
getName in interface JeeConfigpublic ServletContext getServletContext()
getServletContext in interface JeeConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||