|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerInitializer<K extends Server<K,T>,T extends ServerConfig<T>>
ServerInitializer
| Method Summary | |
|---|---|
void |
cleanup(K server)
Cleans up any actions taken during the initialization phase in preparation for server shutdown |
void |
initialize(K server)
Initializes the specified server. |
| Method Detail |
|---|
void initialize(K server)
throws IllegalArgumentException,
IllegalStateException
server - The server to initialize
IllegalArgumentException - If the server was not specified / null, or
its configuration is somehow invalid
IllegalStateException - If the server's state is not
LifecycleState.PRE_INIT
void cleanup(K server)
throws IllegalArgumentException,
IllegalStateException
server -
IllegalArgumentException
IllegalStateException - If the server's state is not LifecycleState.STOPPING
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||