Description
It is nice to provide a valve which can be loaded with container classloader. It would have limitations but would help in several cases.
app.war!/META-INF/context.xml:
<Context> <Valve className="org.apache.tomee.catalina.valve.LazyValve" delegateClassName="org.superbiz.MyValve" properties="config1=value1..." /> </Context>