|
mod_cluster-container-spi 1.2.6.Final | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContainerEventHandler
Defines the container events to which mod_cluster will respond. This API defines the integration point between mod_cluster and the servlet container.
| Method Summary | |
|---|---|
void |
add(Context context)
Indicates the deployment of a new web application. |
void |
init(Server server)
Triggers the initialization of mod_cluster. |
void |
remove(Context context)
Indicates the undeployment of the specified context. |
void |
shutdown()
Triggers the shutdown of mod_cluster. |
void |
start(Context context)
Indicates the specified web application context was started. |
void |
start(Server server)
Indicates the servlet container has been started. |
void |
status(Engine engine)
This is a periodic event that triggers a STATUS command containing newly calculated load factor. |
void |
stop(Context context)
Indicates the specified web application context was stopped. |
void |
stop(Server server)
Indicates the servlet container has been stopped. |
| Method Detail |
|---|
void init(Server server)
start(Server) event.
server - a servervoid shutdown()
init(Server).
void add(Context context)
context - the added contextvoid start(Context context)
context - the started contextvoid stop(Context context)
start(Context).
context - the stopped contextvoid remove(Context context)
context - the removed contextvoid status(Engine engine)
engine - the engine to be processedvoid start(Server server)
server - the started servervoid stop(Server server)
server - the stopped server
|
mod_cluster-container-spi 1.2.6.Final | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||