org.apache.tapestry.web
Class HttpServletWebActivator

java.lang.Object
  extended by org.apache.tapestry.web.HttpServletWebActivator
All Implemented Interfaces:
Describable, InitializationParameterHolder, WebActivator

public class HttpServletWebActivator
extends Object
implements WebActivator

Adapts HttpServlet  as WebActivator.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
HttpServletWebActivator(HttpServlet servlet)
           
 
Method Summary
 void describeTo(DescriptionReceiver receiver)
          Invoked to have the receiver describe itself (largely in terms of properties and values).
 String getActivatorName()
           
 List getInitParameterNames()
          Returns a sorted list of the names of all initialization parameters (which may be the empty list).
 String getInitParameterValue(String name)
          Returns the value of the named parameter, or null if the reciever does not have such a parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServletWebActivator

public HttpServletWebActivator(HttpServlet servlet)
Method Detail

getActivatorName

public String getActivatorName()
Specified by:
getActivatorName in interface WebActivator

getInitParameterNames

public List getInitParameterNames()
Description copied from interface: InitializationParameterHolder
Returns a sorted list of the names of all initialization parameters (which may be the empty list).

Specified by:
getInitParameterNames in interface InitializationParameterHolder
Returns:
List of String

getInitParameterValue

public String getInitParameterValue(String name)
Description copied from interface: InitializationParameterHolder
Returns the value of the named parameter, or null if the reciever does not have such a parameter.

Specified by:
getInitParameterValue in interface InitializationParameterHolder
Parameters:
name - the name of the parameter to retrieve
Returns:
the corresponding value, or null

describeTo

public void describeTo(DescriptionReceiver receiver)
Description copied from interface: Describable
Invoked to have the receiver describe itself (largely in terms of properties and values). If the caller does not invoke any methods on the receiver, then the a default description of the caller will be used (based on toString().

Specified by:
describeTo in interface Describable


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.