final class Notifier
extends java.lang.Object
implements org.eclipse.jetty.util.component.LifeCycle.Listener
Modifier and Type | Field and Description |
---|---|
private int |
awaitTerminationInMillis |
private java.util.concurrent.ScheduledExecutorService |
executorService |
private EPJLifeCycle |
lifeCycleDelegate |
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
Notifier(NotificationConfiguration config,
NotifierCommand command) |
Modifier and Type | Method and Description |
---|---|
void |
lifeCycleFailure(org.eclipse.jetty.util.component.LifeCycle event,
java.lang.Throwable cause) |
void |
lifeCycleStarted(org.eclipse.jetty.util.component.LifeCycle event) |
void |
lifeCycleStarting(org.eclipse.jetty.util.component.LifeCycle event) |
void |
lifeCycleStopped(org.eclipse.jetty.util.component.LifeCycle event) |
void |
lifeCycleStopping(org.eclipse.jetty.util.component.LifeCycle event) |
void |
setLifeCycle(org.eclipse.jetty.util.component.LifeCycle applicationLifeCycle) |
private final java.util.concurrent.ScheduledExecutorService executorService
private static final org.slf4j.Logger LOGGER
private final int awaitTerminationInMillis
private final EPJLifeCycle lifeCycleDelegate
@Inject public Notifier(NotificationConfiguration config, NotifierCommand command)
@Inject(optional=true) public void setLifeCycle(org.eclipse.jetty.util.component.LifeCycle applicationLifeCycle)
public void lifeCycleStarting(org.eclipse.jetty.util.component.LifeCycle event)
lifeCycleStarting
in interface org.eclipse.jetty.util.component.LifeCycle.Listener
public void lifeCycleStarted(org.eclipse.jetty.util.component.LifeCycle event)
lifeCycleStarted
in interface org.eclipse.jetty.util.component.LifeCycle.Listener
public void lifeCycleFailure(org.eclipse.jetty.util.component.LifeCycle event, java.lang.Throwable cause)
lifeCycleFailure
in interface org.eclipse.jetty.util.component.LifeCycle.Listener
public void lifeCycleStopping(org.eclipse.jetty.util.component.LifeCycle event)
lifeCycleStopping
in interface org.eclipse.jetty.util.component.LifeCycle.Listener
public void lifeCycleStopped(org.eclipse.jetty.util.component.LifeCycle event)
lifeCycleStopped
in interface org.eclipse.jetty.util.component.LifeCycle.Listener