setContextLifecycleListeners

open fun setContextLifecycleListeners(contextLifecycleListeners: Collection<out LifecycleListener>)

Set LifecycleListeners that should be applied to the Tomcat Context. Calling this method will replace any existing listeners.

Parameters

contextLifecycleListeners

the listeners to set