org.locomotive.loco.servlet
Class LocoServletConfig

java.lang.Object
  |
  +--org.locomotive.loco.servlet.LocoServletConfig

public class LocoServletConfig
extends java.lang.Object
implements javax.servlet.ServletConfig


Constructor Summary
protected LocoServletConfig(java.util.Properties p, ServletRoutingTable srt)
           
 
Method Summary
 java.lang.String getInitParameter(java.lang.String name)
          Returns the value of the init parameter specified by the name.
 java.util.Enumeration getInitParameterNames()
          Returns an enumeration of the names of all the initialization parameters.
 javax.servlet.ServletContext getServletContext()
          Returns the servlet context object for this servlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocoServletConfig

protected LocoServletConfig(java.util.Properties p,
                            ServletRoutingTable srt)
Method Detail

getInitParameter

public java.lang.String getInitParameter(java.lang.String name)
Returns the value of the init parameter specified by the name. Returns null if a parameter with that name doesn't exist.
Specified by:
getInitParameter in interface javax.servlet.ServletConfig

getInitParameterNames

public java.util.Enumeration getInitParameterNames()
Returns an enumeration of the names of all the initialization parameters. It returns all the names in the main server Config object using Loco.getConfig().getConfigNamesEnumeration().
Specified by:
getInitParameterNames in interface javax.servlet.ServletConfig

getServletContext

public javax.servlet.ServletContext getServletContext()
Returns the servlet context object for this servlet.
Specified by:
getServletContext in interface javax.servlet.ServletConfig