com.mycila.testing.plugins.jetty
Class NopServerLifeCycleListener

java.lang.Object
  extended by com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
All Implemented Interfaces:
ServerLifeCycleListener, WebappLifeCycleListener

public class NopServerLifeCycleListener
extends Object
implements ServerLifeCycleListener

No-operation ServerLifeCycleListener.


Constructor Summary
NopServerLifeCycleListener()
           
 
Method Summary
 void afterServerStart(org.eclipse.jetty.server.Server server)
          Handler method which will be called after the Server started.
 void afterServerStop(org.eclipse.jetty.server.Server server)
          Handler method which will be called after the Server stopped.
 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 beforeServerStart(org.eclipse.jetty.server.Server server)
          Handler method which will be called before the Server starts.
 void beforeServerStop(org.eclipse.jetty.server.Server server)
          Handler method which will be called before the Server stops.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NopServerLifeCycleListener

public NopServerLifeCycleListener()
Method Detail

beforeServerStart

public void beforeServerStart(org.eclipse.jetty.server.Server server)
Description copied from interface: ServerLifeCycleListener
Handler method which will be called before the Server starts.

Specified by:
beforeServerStart in interface ServerLifeCycleListener
Parameters:
server - the server which will start.

afterServerStart

public void afterServerStart(org.eclipse.jetty.server.Server server)
Description copied from interface: ServerLifeCycleListener
Handler method which will be called after the Server started.

Specified by:
afterServerStart in interface ServerLifeCycleListener
Parameters:
server - the server which is started.

beforeServerStop

public void beforeServerStop(org.eclipse.jetty.server.Server server)
Description copied from interface: ServerLifeCycleListener
Handler method which will be called before the Server stops.

Specified by:
beforeServerStop in interface ServerLifeCycleListener
Parameters:
server - the server which will stop.

afterServerStop

public void afterServerStop(org.eclipse.jetty.server.Server server)
Description copied from interface: ServerLifeCycleListener
Handler method which will be called after the Server stopped.

Specified by:
afterServerStop in interface ServerLifeCycleListener
Parameters:
server - the server which is stopped.

beforeWebappStart

public void beforeWebappStart(org.eclipse.jetty.server.Server server,
                              org.eclipse.jetty.webapp.WebAppContext webAppContext)
Description copied from interface: WebappLifeCycleListener
Handler method which will be called before the WebAppContext deploy.

Specified by:
beforeWebappStart in interface WebappLifeCycleListener
Parameters:
server - the webapp server.
webAppContext - the webapp which will be deployed.

afterWebappStart

public void afterWebappStart(org.eclipse.jetty.server.Server server,
                             org.eclipse.jetty.webapp.WebAppContext webAppContext)
Description copied from interface: WebappLifeCycleListener
Handler method which will be called after the WebAppContext is deployed.

Specified by:
afterWebappStart in interface WebappLifeCycleListener
Parameters:
server - the webapp server.
webAppContext - the webapp which is deployed.

beforeWebappStop

public void beforeWebappStop(org.eclipse.jetty.server.Server server,
                             org.eclipse.jetty.webapp.WebAppContext webAppContext)
Description copied from interface: WebappLifeCycleListener
Handler method which will be called before the WebAppContext undeploy.

Specified by:
beforeWebappStop in interface WebappLifeCycleListener
Parameters:
server - the webapp server.
webAppContext - the webapp which will be undeployed.

afterWebappStop

public void afterWebappStop(org.eclipse.jetty.server.Server server,
                            org.eclipse.jetty.webapp.WebAppContext webAppContext)
Description copied from interface: WebappLifeCycleListener
Handler method which will be called after the WebAppContext is undeployed.

Specified by:
afterWebappStop in interface WebappLifeCycleListener
Parameters:
server - the webapp server.
webAppContext - the webapp which is undeployed.


Copyright © 2010-2011 Mycila. All Rights Reserved.