|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.velocity.tools.view.JeeContextConfig
public class JeeContextConfig
Implements JeeConfig
with only a ServletContext
.
Field Summary | |
---|---|
protected javax.servlet.ServletContext |
context
|
Constructor Summary | |
---|---|
JeeContextConfig(javax.servlet.ServletContext context)
|
Method Summary | |
---|---|
java.lang.String |
findInitParameter(java.lang.String key)
Only checks the ServletContext 's init-params
for the specified parameter. |
java.lang.String |
getInitParameter(java.lang.String name)
Returns an initialization parameter. |
java.util.Enumeration |
getInitParameterNames()
Returns all the parameter names. |
java.lang.String |
getName()
Returns the name of the servlet (or filter) being used. |
javax.servlet.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 javax.servlet.ServletContext context
Constructor Detail |
---|
public JeeContextConfig(javax.servlet.ServletContext context)
Method Detail |
---|
public java.lang.String getInitParameter(java.lang.String name)
getInitParameter
in interface JeeConfig
name
- The name of the initialization parameter.
public java.lang.String findInitParameter(java.lang.String key)
ServletContext
's init-params
for the specified parameter.
findInitParameter
in interface JeeConfig
key
- The name of the initialization parameter.
public java.util.Enumeration getInitParameterNames()
getInitParameterNames
in interface JeeConfig
public java.lang.String getName()
getName
in interface JeeConfig
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface JeeConfig
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |