public class LocalServletConfig extends Object implements ServletConfig
Constructor and Description |
---|
LocalServletConfig(File warFileLocation)
Creates a new Servlet configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
getInitParameter(String param) |
Enumeration |
getInitParameterNames() |
String |
getServletClass()
Gets the class name of the Servlet.
|
ServletContext |
getServletContext() |
String |
getServletName() |
public LocalServletConfig(File warFileLocation)
warFileLocation
- the war file containing the servlet to deploy,
cannot be null
.public String getInitParameter(String param)
getInitParameter
in interface ServletConfig
public String getServletName()
getServletName
in interface ServletConfig
public String getServletClass()
null
.public ServletContext getServletContext()
getServletContext
in interface ServletConfig
public Enumeration getInitParameterNames()
getInitParameterNames
in interface ServletConfig
See http://www.xins.org/.