net.dpml.http
Class HandlerCollection

java.lang.Object
  extended by org.mortbay.component.AbstractLifeCycle
      extended by org.mortbay.jetty.handler.AbstractHandler
          extended by org.mortbay.jetty.handler.AbstractHandlerContainer
              extended by org.mortbay.jetty.handler.HandlerCollection
                  extended by net.dpml.http.HandlerCollection
All Implemented Interfaces:
LifeCycle, Handler, HandlerContainer

public class HandlerCollection
extends HandlerCollection

A collection of handlers. For each request, all handler are called, regardless of the response status or exceptions.

Version:
0.2.0
Author:
Digital Product Meta Library

Nested Class Summary
static interface HandlerCollection.Parts
          Internal parts management interface.
 
Field Summary
 
Fields inherited from class org.mortbay.jetty.handler.AbstractHandler
_string
 
Fields inherited from interface org.mortbay.jetty.Handler
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST
 
Constructor Summary
HandlerCollection(Logger logger, HandlerCollection.Parts parts)
          Creation of a new handler collection.
 
Method Summary
 
Methods inherited from class org.mortbay.jetty.handler.HandlerCollection
addHandler, doStart, doStop, expandChildren, getHandlers, handle, removeHandler, setHandlers, setServer
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandlerContainer
expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandler
getServer, toString
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mortbay.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 

Constructor Detail

HandlerCollection

public HandlerCollection(Logger logger,
                         HandlerCollection.Parts parts)
                  throws Exception
Creation of a new handler collection.

Parameters:
logger - the assigned logging channel
parts - the parts manager
Throws:
Exception - if an instantiation error occurs