net.dpml.http
Class HandlerCollection

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

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.0.2
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.
 
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