package Ġorg . gob lin framework . web mvc . listener Ċ Ċ import Ġorg . gob lin framework . core . system . G ob lin System Ċ import Ġorg . gob lin framework . web mvc . container . Web app Spring Container Ċ import Ġjavax . servlet . ServletContext Ċ import Ġjavax . servlet . ServletContext Event Ċ Ċ open Ġclass ĠContext Loader Listener Ġ: Ġorg . springframework . web . context . Context Loader Listener () Ġ{ ĊĊĠ Ġoverride Ġfun Ġdetermine Context Class ( servlet Context : ĠServlet Context ?): ĠClass < *> Ġ{ ĊĠĠĠ Ġreturn ĠWeb app Spring Container :: class . java ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġcontext Initialized ( event : ĠServlet Context Event ) Ġ{ ĊĠĠĠ ĠG ob lin System . install () ĊĠĠĠ Ġsuper . context Initialized ( event ) ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġcontext Destroyed ( event : ĠServlet Context Event ) Ġ{ ĊĠĠĠ Ġsuper . context Destroyed ( event ) ĊĠĠĠ ĠG ob lin System . uninstall () ĊĠ Ġ} Ċ }