public interface PwcWebContainerLifecycle
Modifier and Type | Method and Description |
---|---|
void |
onInitialization(String rootDir,
String instanceName,
boolean useNaming,
Logger logger,
String embeddedClassName) |
void |
onReady()
Server has complted loading the applications and is ready to serve requests.
|
void |
onShutdown()
Server is shutting down applications
|
void |
onStartup()
Server is starting up applications
|
void |
onTermination()
Server is terminating the subsystems and the runtime environment.
|
void onInitialization(String rootDir, String instanceName, boolean useNaming, Logger logger, String embeddedClassName) throws Exception
Exception
void onStartup() throws Exception
ServerLifecycleException
- if this subsystem detects a fatal
error that prevents this subsystem from being usedException
void onReady() throws Exception
ServerLifecycleException
- if this subsystem detects a fatal
error that prevents this subsystem from being usedException
void onShutdown() throws Exception
ServerLifecycleException
- if this subsystem detects a fatal
error that prevents this subsystem from being usedException
void onTermination() throws Exception
ServerLifecycleException
- if this subsystem detects a fatal
error that prevents this subsystem from being usedException
Copyright © 2021. All rights reserved.