public class LifecycleListenerImpl extends Object implements LifecycleListener
| Constructor and Description |
|---|
LifecycleListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEvent(LifecycleEvent event)
receive a server lifecycle event
|
public void handleEvent(LifecycleEvent event) throws ServerLifecycleException
handleEvent in interface LifecycleListenerevent - associated eventServerLifecycleException - for exceptional condition.
Configure this module as a lifecycle-module in server.xml:
is-failure-fatalin server.xml to true for
fatal conditions.ServerLifecycleExceptionCopyright © 2019. All rights reserved.