org.objectweb.jonas.web.jetty50
Class JSR77Configuration

java.lang.Object
  extended byorg.objectweb.jonas.web.jetty50.JSR77Configuration
All Implemented Interfaces:
java.io.Serializable, org.mortbay.jetty.servlet.WebApplicationContext.Configuration

public class JSR77Configuration
extends java.lang.Object
implements org.mortbay.jetty.servlet.WebApplicationContext.Configuration

Replace the JSR77 Configuration implementation from Jetty 5.0 This class add Filters to the Servlets in order to provide some statistics.

Author:
Guillaume Sauthier
See Also:
Serialized Form

Field Summary
static java.lang.String FILTER_PREFIX
          Filter name prefix
 
Constructor Summary
JSR77Configuration()
          Defualt Constructor
 
Method Summary
 void configureClassPath()
          was not implemented in Jetty's Configuration
 void configureDefaults()
          was not implemented in Jetty's Configuration
 void configureWebApp()
          Add the Statistic Filters for JSR77
 org.mortbay.jetty.servlet.WebApplicationContext getWebApplicationContext()
           
 void setWebApplicationContext(org.mortbay.jetty.servlet.WebApplicationContext wac)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_PREFIX

public static final java.lang.String FILTER_PREFIX
Filter name prefix

See Also:
Constant Field Values
Constructor Detail

JSR77Configuration

public JSR77Configuration()
Defualt Constructor

Method Detail

setWebApplicationContext

public void setWebApplicationContext(org.mortbay.jetty.servlet.WebApplicationContext wac)
Specified by:
setWebApplicationContext in interface org.mortbay.jetty.servlet.WebApplicationContext.Configuration
Parameters:
wac - the monitored WebApplication

getWebApplicationContext

public org.mortbay.jetty.servlet.WebApplicationContext getWebApplicationContext()
Specified by:
getWebApplicationContext in interface org.mortbay.jetty.servlet.WebApplicationContext.Configuration
Returns:
the monitored WebApplication

configureClassPath

public void configureClassPath()
                        throws java.lang.Exception
was not implemented in Jetty's Configuration

Specified by:
configureClassPath in interface org.mortbay.jetty.servlet.WebApplicationContext.Configuration
Throws:
java.lang.Exception - not documented !

configureDefaults

public void configureDefaults()
                       throws java.lang.Exception
was not implemented in Jetty's Configuration

Specified by:
configureDefaults in interface org.mortbay.jetty.servlet.WebApplicationContext.Configuration
Throws:
java.lang.Exception - not documented !

configureWebApp

public void configureWebApp()
                     throws java.lang.Exception
Add the Statistic Filters for JSR77

Specified by:
configureWebApp in interface org.mortbay.jetty.servlet.WebApplicationContext.Configuration
Throws:
java.lang.Exception - not documented !