public class MonitoringContainerListener extends AbstractContainerLifecycleListener
application events
and call them on supplied RequestEventListener.
This listener must be registered as a standard provider in Jersey runtime.| Modifier and Type | Class and Description |
|---|---|
static class |
MonitoringContainerListener.Binder
A binder that binds the
MonitoringContainerListener. |
| Constructor and Description |
|---|
MonitoringContainerListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(ApplicationEventListener listener,
ApplicationEvent initFinishedEvent)
Initializes the instance with listener that must be called and initialization event.
|
void |
onReload(Container container)
Invoked when the
container has been reloaded. |
void |
onShutdown(Container container)
Invoke at the
container shut-down. |
onStartuppublic void init(ApplicationEventListener listener, ApplicationEvent initFinishedEvent)
ApplicationEventListener is registered in Jersey runtime.listener - Listener that should be called.initFinishedEvent - Event of type ApplicationEvent.Type#INITIALIZATION_START.public void onReload(Container container)
ContainerLifecycleListenercontainer has been reloaded.onReload in interface ContainerLifecycleListeneronReload in class AbstractContainerLifecycleListenercontainer - container that has been reloaded.public void onShutdown(Container container)
ContainerLifecycleListenercontainer shut-down.onShutdown in interface ContainerLifecycleListeneronShutdown in class AbstractContainerLifecycleListenercontainer - container that has been shut down.Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.