com.mycila.testing.plugins.jetty
Interface WebappLifeCycleListener

All Known Subinterfaces:
ServerLifeCycleListener
All Known Implementing Classes:
NopServerLifeCycleListener

public interface WebappLifeCycleListener

The webapp lifecycle listener which allow customization of the WebAppContext configuration.


Method Summary
 void afterWebappStart(org.eclipse.jetty.server.Server server, org.eclipse.jetty.webapp.WebAppContext webAppContext)
          Handler method which will be called after the WebAppContext is deployed.
 void afterWebappStop(org.eclipse.jetty.server.Server server, org.eclipse.jetty.webapp.WebAppContext webAppContext)
          Handler method which will be called after the WebAppContext is undeployed.
 void beforeWebappStart(org.eclipse.jetty.server.Server server, org.eclipse.jetty.webapp.WebAppContext webAppContext)
          Handler method which will be called before the WebAppContext deploy.
 void beforeWebappStop(org.eclipse.jetty.server.Server server, org.eclipse.jetty.webapp.WebAppContext webAppContext)
          Handler method which will be called before the WebAppContext undeploy.
 

Method Detail

beforeWebappStart

void beforeWebappStart(org.eclipse.jetty.server.Server server,
                       org.eclipse.jetty.webapp.WebAppContext webAppContext)
Handler method which will be called before the WebAppContext deploy.

Parameters:
server - the webapp server.
webAppContext - the webapp which will be deployed.

afterWebappStart

void afterWebappStart(org.eclipse.jetty.server.Server server,
                      org.eclipse.jetty.webapp.WebAppContext webAppContext)
Handler method which will be called after the WebAppContext is deployed.

Parameters:
server - the webapp server.
webAppContext - the webapp which is deployed.

beforeWebappStop

void beforeWebappStop(org.eclipse.jetty.server.Server server,
                      org.eclipse.jetty.webapp.WebAppContext webAppContext)
Handler method which will be called before the WebAppContext undeploy.

Parameters:
server - the webapp server.
webAppContext - the webapp which will be undeployed.

afterWebappStop

void afterWebappStop(org.eclipse.jetty.server.Server server,
                     org.eclipse.jetty.webapp.WebAppContext webAppContext)
Handler method which will be called after the WebAppContext is undeployed.

Parameters:
server - the webapp server.
webAppContext - the webapp which is undeployed.


Copyright © 2010-2011 Mycila. All Rights Reserved.