Implementations of Wrapper are responsible for managing the servlet life cycle for their underlying servlet class, including calling init() and destroy() at appropriate times, as well as respecting the existence of the SingleThreadModel declaration on the servlet class itself.
The parent Container attached to a Wrapper will generally be an implementation of Context, representing the servlet context (and therefore the web application) within which this servlet executes.
Child Containers are not allowed on Wrapper implementations, so the addChild()
method should throw an IllegalArgumentException
.
@author Craig R. McClanahan
@version $Revision: 1.4 $ $Date: 2000/02/08 03:34:44 $
|
|
|
|
|
|