public function init(ServerContextInterface $serverContext)
{
try {
// set the servlet context
$this->serverContext = $serverContext;
// initialize the servlet engine
$this->initValves();
$this->initHandlers();
$this->initApplications();
} catch (\Exception $e) {
throw new ModuleException($e);
}
}