org.xins.common.servlet.container
Class LocalServletConfig
java.lang.Object
org.xins.common.servlet.container.LocalServletConfig
- All Implemented Interfaces:
- ServletConfig
- public class LocalServletConfig
- extends Object
- implements ServletConfig
This class is an implementation of the ServletConfig that can be
called locally.
- Version:
- $Revision: 1.12 $ $Date: 2006/08/28 09:12:34 $
- Author:
- Anthony Goubard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalServletConfig
public LocalServletConfig(File warFileLocation)
- Creates a new Servlet configuration.
- Parameters:
warFileLocation
- the war file containing the servlet to deploy,
cannot be null
.
getInitParameter
public String getInitParameter(String param)
- Specified by:
getInitParameter
in interface ServletConfig
getServletName
public String getServletName()
- Specified by:
getServletName
in interface ServletConfig
getServletClass
public String getServletClass()
- Gets the class name of the Servlet.
- Returns:
- the class name of the servlet, cannot be
null
.
getServletContext
public ServletContext getServletContext()
- Specified by:
getServletContext
in interface ServletConfig
getInitParameterNames
public Enumeration getInitParameterNames()
- Specified by:
getInitParameterNames
in interface ServletConfig
See http://www.xins.org/.