Package org.apache.struts2.dispatcher
Class OgnlCacheDestroyable
java.lang.Object
org.apache.struts2.dispatcher.OgnlCacheDestroyable
- All Implemented Interfaces:
InternalDestroyable
Clears OGNL runtime caches and JDK introspection caches that hold
Class<?> references, preventing classloader leaks on hot redeploy.- Since:
- 7.2.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OgnlCacheDestroyable
public OgnlCacheDestroyable()
-
-
Method Details
-
destroy
public void destroy()Description copied from interface:InternalDestroyableReleases static state held by this component. Called once duringDispatcher.cleanup().- Specified by:
destroyin interfaceInternalDestroyable
-