Class ContextLoaderListener

java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
com.isomorphic.spring.ContextLoaderListener
All Implemented Interfaces:
jakarta.servlet.ServletContextListener, EventListener

public class ContextLoaderListener extends org.springframework.web.context.ContextLoaderListener
Wraps the class org.springframework.web.context.ContextLoaderListener so that any exceptions generated by Spring can be caught, rather than escaping and preventing server initialiation from completing. Filter param stopOnError can be set true to restore the original behavior (or the filter reference in web.xml can just be changed back to the Spring-defined class.