org.glassfish.jersey.server.spi
Interface ContainerLifecycleListener

All Known Implementing Classes:
AbstractContainerLifecycleListener

public interface ContainerLifecycleListener

Classes implementing this contract receive container life-cycle notification events.

Author:
Marek Potociar (marek.potociar at oracle.com)

Method Summary
 void onReload(Container container)
          Invoked when the container has been reloaded.
 void onShutdown(Container container)
          Invoke at the container shut-down.
 void onStartup(Container container)
          Invoked at the container start-up.
 

Method Detail

onStartup

void onStartup(Container container)
Invoked at the container start-up.

Parameters:
container - container that has been started.

onReload

void onReload(Container container)
Invoked when the container has been reloaded.

Parameters:
container - container that has been reloaded.

onShutdown

void onShutdown(Container container)
Invoke at the container shut-down.

Parameters:
container - container that has been shut down.


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.