|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jason.service.crusader.javaximpl.ServletConfigImpl
This class is the concrete implementation of java.servlet.ServletConfig. The config object is responsible to give
a servlet access to the configuration parameters (if any) specific to a servlet. The configuration parameters are
a subset of all the configuration parameters stored by the servlet engine for all the contexts. The ServletConfig
interface may be considered to be a Servlet's view into the configuration data as maintained by the servlet engine.
Therefore, there is only one ServletConfig object per servlet.
Author - Sanjay"Ironluca"Debnath Ironluca@yahoo.com
Last Modified - 29/04/2001
| Field Summary | |
protected ServletCapsuleInt |
servletCapsule
Contains the refference to the Servlet/ServletCapsule for which it is acting as the Config |
protected javax.servlet.ServletContext |
servletContext
Contains the Context associated with this Servlet/ServletCapsule. |
| Constructor Summary | |
ServletConfigImpl()
|
|
| Method Summary | |
java.lang.String |
getInitParameter(java.lang.String parameterName)
|
java.util.Enumeration |
getInitParameterNames()
|
ServletCapsuleInt |
getServletCapsule()
This methods is for internal use only. |
javax.servlet.ServletContext |
getServletContext()
The present implementation of this method returns a new Context object if the "servletContext" variable is null. |
java.lang.String |
getServletName()
This method returns the Servlet name - in effect the fully qualified class name |
void |
setServletCapsule(ServletCapsuleInt servletCapsule)
This methods is for internal use only. |
void |
setServletContext(javax.servlet.ServletContext servletContext)
This methods is for internal use only. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ServletCapsuleInt servletCapsule
protected javax.servlet.ServletContext servletContext
| Constructor Detail |
public ServletConfigImpl()
| Method Detail |
public java.lang.String getInitParameter(java.lang.String parameterName)
getInitParameter in interface javax.servlet.ServletConfigpublic java.util.Enumeration getInitParameterNames()
getInitParameterNames in interface javax.servlet.ServletConfigpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.ServletConfigpublic java.lang.String getServletName()
getServletName in interface javax.servlet.ServletConfigpublic ServletCapsuleInt getServletCapsule()
public void setServletCapsule(ServletCapsuleInt servletCapsule)
public void setServletContext(javax.servlet.ServletContext servletContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||