Package org.vx68k.bitbucket.stub
Class StubServletConfig
- java.lang.Object
-
- org.vx68k.bitbucket.stub.StubServletConfig
-
- All Implemented Interfaces:
ServletConfig
public class StubServletConfig extends Object implements ServletConfig
Stub implementation ofServletConfig
.- Since:
- 5.0
- Author:
- Kaz Nishimura
-
-
Constructor Summary
Constructors Constructor Description StubServletConfig(ServletContext context)
Constructs this configuration with aServletContext
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInitParameter(String name)
Enumeration<String>
getInitParameterNames()
ServletContext
getServletContext()
String
getServletName()
-
-
-
Constructor Detail
-
StubServletConfig
public StubServletConfig(ServletContext context)
Constructs this configuration with aServletContext
object.- Parameters:
context
-ServletContext
object
-
-
Method Detail
-
getServletName
public String getServletName()
- Specified by:
getServletName
in interfaceServletConfig
-
getServletContext
public final ServletContext getServletContext()
This implementation returns the
ServletContext
object given to the constructor.- Specified by:
getServletContext
in interfaceServletConfig
- Returns:
- the
ServletContext
object
-
getInitParameter
public String getInitParameter(String name)
- Specified by:
getInitParameter
in interfaceServletConfig
-
getInitParameterNames
public Enumeration<String> getInitParameterNames()
- Specified by:
getInitParameterNames
in interfaceServletConfig
-
-