Modifier and Type | Field and Description |
---|---|
protected javax.servlet.ServletContext |
context |
Constructor and Description |
---|
JeeContextConfig(javax.servlet.ServletContext context) |
Modifier and Type | Method and Description |
---|---|
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.
|
javax.servlet.ServletContext |
getServletContext()
Returns the servlet context.
|
public String getInitParameter(String name)
getInitParameter
in interface JeeConfig
name
- The name of the initialization parameter.public String findInitParameter(String key)
ServletContext
's init-params
for the specified parameter.findInitParameter
in interface JeeConfig
key
- The name of the initialization parameter.public Enumeration getInitParameterNames()
getInitParameterNames
in interface JeeConfig
public String getName()
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface JeeConfig
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.