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 aServletContextobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInitParameter(String name)Enumeration<String>getInitParameterNames()ServletContextgetServletContext()StringgetServletName()
-
-
-
Constructor Detail
-
StubServletConfig
public StubServletConfig(ServletContext context)
Constructs this configuration with aServletContextobject.- Parameters:
context-ServletContextobject
-
-
Method Detail
-
getServletName
public String getServletName()
- Specified by:
getServletNamein interfaceServletConfig
-
getServletContext
public final ServletContext getServletContext()
This implementation returns the
ServletContextobject given to the constructor.- Specified by:
getServletContextin interfaceServletConfig- Returns:
- the
ServletContextobject
-
getInitParameter
public String getInitParameter(String name)
- Specified by:
getInitParameterin interfaceServletConfig
-
getInitParameterNames
public Enumeration<String> getInitParameterNames()
- Specified by:
getInitParameterNamesin interfaceServletConfig
-
-