org.gwe.app.client.web
Class GWEServletContext

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.HandlerWrapper
                  extended by org.mortbay.jetty.handler.ContextHandler
                      extended by org.mortbay.jetty.servlet.Context
                          extended by org.gwe.app.client.web.GWEServletContext
All Implemented Interfaces:
org.mortbay.component.LifeCycle, org.mortbay.jetty.Handler, org.mortbay.jetty.HandlerContainer, org.mortbay.jetty.Server.Graceful, org.mortbay.util.Attributes

public class GWEServletContext
extends org.mortbay.jetty.servlet.Context

Since:
Dec 14, 2008
Author:
Marco Ruiz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mortbay.jetty.servlet.Context
org.mortbay.jetty.servlet.Context.SContext
 
Nested classes/interfaces inherited from interface org.mortbay.component.LifeCycle
org.mortbay.component.LifeCycle.Listener
 
Field Summary
static java.lang.String GWE_CONFIGURATION
           
 
Fields inherited from class org.mortbay.jetty.servlet.Context
_securityHandler, _servletHandler, _sessionHandler, NO_SECURITY, NO_SESSIONS, SECURITY, SESSIONS
 
Fields inherited from class org.mortbay.jetty.handler.ContextHandler
_scontext, MANAGED_ATTRIBUTES
 
Fields inherited from class org.mortbay.jetty.handler.AbstractHandler
_string
 
Fields inherited from class org.mortbay.component.AbstractLifeCycle
_listeners
 
Fields inherited from interface org.mortbay.jetty.Handler
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST
 
Constructor Summary
GWEServletContext(java.lang.String confArg, org.mortbay.jetty.HandlerContainer contexts)
           
GWEServletContext(java.lang.String confArg, org.mortbay.jetty.HandlerContainer contexts, java.lang.Class<? extends GWEServlet>... servletClasses)
           
 
Method Summary
 void addGWEServlet(java.lang.Class<? extends GWEServlet> servletClass)
           
 
Methods inherited from class org.mortbay.jetty.servlet.Context
addFilter, addFilter, addFilter, addServlet, addServlet, addServlet, getSecurityHandler, getServletHandler, getSessionHandler, setSecurityHandler, setServletHandler, setSessionHandler, startContext
 
Methods inherited from class org.mortbay.jetty.handler.ContextHandler
addEventListener, addLocaleEncoding, clearAttributes, doStart, doStop, getAllowNullPathInfo, getAttribute, getAttributeNames, getAttributes, getBaseResource, getClassLoader, getClassPath, getConnectorNames, getContextPath, getCurrentContext, getDisplayName, getErrorHandler, getEventListeners, getHosts, getInitParameter, getInitParameterNames, getInitParams, getLocaleEncoding, getMaxFormContentSize, getMimeTypes, getResource, getResourceBase, getResourcePaths, getServletContext, getVirtualHosts, getWelcomeFiles, handle, isCompactPath, isProtectedTarget, isShutdown, loadClass, removeAttribute, setAllowNullPathInfo, setAttribute, setAttributes, setBaseResource, setClassLoader, setCompactPath, setConnectorNames, setContextPath, setDisplayName, setErrorHandler, setEventListeners, setHosts, setInitParams, setMaxFormContentSize, setMimeTypes, setResourceBase, setServer, setShutdown, setVirtualHosts, setWelcomeFiles, toString
 
Methods inherited from class org.mortbay.jetty.handler.HandlerWrapper
addHandler, expandChildren, getHandler, removeHandler, setHandler
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandlerContainer
expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandler
destroy, getServer
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, 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
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 

Field Detail

GWE_CONFIGURATION

public static final java.lang.String GWE_CONFIGURATION
See Also:
Constant Field Values
Constructor Detail

GWEServletContext

public GWEServletContext(java.lang.String confArg,
                         org.mortbay.jetty.HandlerContainer contexts,
                         java.lang.Class<? extends GWEServlet>... servletClasses)
                  throws java.lang.Exception
Throws:
java.lang.Exception

GWEServletContext

public GWEServletContext(java.lang.String confArg,
                         org.mortbay.jetty.HandlerContainer contexts)
                  throws java.io.IOException,
                         CredentialNotFoundException
Throws:
java.io.IOException
CredentialNotFoundException
Method Detail

addGWEServlet

public void addGWEServlet(java.lang.Class<? extends GWEServlet> servletClass)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2007-2009. All Rights Reserved.