| Modifier and Type | Field and Description |
|---|---|
protected ServletConfig |
servlet |
| Constructor and Description |
|---|
JeeServletConfig(ServletConfig servlet) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
findInitParameter(java.lang.String key)
Looks for the specified init-param in the servlet/filter config
(i.e.
|
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.
|
ServletContext |
getServletContext()
Returns the servlet context.
|
public java.lang.String getInitParameter(java.lang.String name)
getInitParameter in interface JeeConfigname - The name of the initialization parameter.public java.lang.String findInitParameter(java.lang.String key)
JeeConfig.getInitParameter(java.lang.String)). If no such init-param is
found there, it checks the ServletContext's init-params
for the specified parameter.findInitParameter in interface JeeConfigkey - The name of the initialization parameter.public java.util.Enumeration getInitParameterNames()
getInitParameterNames in interface JeeConfigpublic java.lang.String getName()
public ServletContext getServletContext()
getServletContext in interface JeeConfigCopyright (c) 2003-2007 Apache Software Foundation