public interface ContextListener
Modifier and Type | Method and Description |
---|---|
void |
afterStart(StandardContext context)
Called after starting context.
|
void |
afterStop(StandardContext context)
Called after starting context.
|
void |
afterStop(StandardServer standardServer)
Called after stopping server
|
void |
beforeStart(StandardContext context)
Called before starting context.
|
void |
beforeStop(StandardContext context)
Called before stopping context.
|
void |
checkHost(StandardHost standardHost)
Called on periodic events.
|
void |
configureStart(LifecycleEvent event,
StandardContext standardContext) |
void |
destroy(StandardContext context)
Called when destroying context.
|
void |
init(StandardContext context)
Web context is initialized.
|
void |
start(StandardContext context)
Called when starting context.
|
void |
start(StandardServer server) |
void |
stop(StandardContext context)
Called when stopping context.
|
void init(StandardContext context)
context
- web contextvoid beforeStart(StandardContext context)
context
- web contextvoid start(StandardContext context)
context
- web contextvoid afterStart(StandardContext context)
context
- web contextvoid beforeStop(StandardContext context)
context
- web contextvoid stop(StandardContext context)
context
- web contextvoid afterStop(StandardContext context)
context
- web contextvoid destroy(StandardContext context)
context
- web contextvoid afterStop(StandardServer standardServer)
standardServer
- server instancevoid start(StandardServer server)
void checkHost(StandardHost standardHost)
standardHost
- hostvoid configureStart(LifecycleEvent event, StandardContext standardContext)