Class AprLifecycleListener

java.lang.Object
org.apache.catalina.core.AprLifecycleListener
All Implemented Interfaces:
LifecycleListener

public class AprLifecycleListener extends Object implements LifecycleListener
Implementation of LifecycleListener that will init and and destroy APR.

This listener must only be nested within Server elements.

Note: If you are running Tomcat in an embedded fashion and have more than one Server instance per JVM, this listener must not be added to the Server instances, but handled outside by the calling code which is bootstrapping the embedded Tomcat instances. Not doing so will lead to JVM crashes.

Since:
4.1