public interface ContextPlugin extends AggreGatePlugin
| Modifier and Type | Method and Description |
|---|---|
void |
deinitialize()
This method is called right before plugin destruction.
|
void |
deinstall(ContextManager<ServerContext> contextManager)
This method is called before server context tree is destroyed.
|
void |
deinstall(ServerContext context)
This method is called when a server context is destroyed or removed upon server shutdown.
|
void |
initialize()
This method is called right after plugin creation.
|
void |
install(ContextManager<ServerContext> contextManager)
This method is called when server context tree is fully loaded.
|
void |
install(ServerContext context)
This method is called when a new server context is created or loaded upon server startup.
|
void |
launch()
This method is called in the very end of server startup.
|
void |
shutdown()
This method is called in the very beginning of server shutdown.
|
createGlobalConfigContext, createUserConfigContext, getDescription, getGlobalConfigContext, getId, getShortId, getSortIndex, getUserConfigContext, globalDeinit, globalInit, globalStart, globalStop, userDeinit, userInitvoid initialize()
throws PluginException
PluginExceptionvoid deinitialize()
throws PluginException
PluginExceptionvoid install(ContextManager<ServerContext> contextManager) throws ContextException, PluginException
contextManager - Server context managerContextException - If some context API calls from within this method have thrown an exceptionPluginException - If plugin internal error occurredvoid deinstall(ContextManager<ServerContext> contextManager) throws ContextException, PluginException
contextManager - Server context managerContextException - If some context API calls from within this method have thrown an exceptionPluginException - If plugin internal error occurredvoid install(ServerContext context) throws ContextException, PluginException
context - Server contextContextException - If some context API calls from within this method have thrown an exceptionPluginException - If plugin internal error occurredvoid deinstall(ServerContext context) throws ContextException, PluginException
context - Server contextContextException - If some context API calls from within this method have thrown an exceptionPluginException - If plugin internal error occurredvoid launch()
throws PluginException
PluginException - If plugin internal error occurredvoid shutdown()
throws PluginException
PluginException - If plugin internal error occurred