Package org.apache.struts2.dispatcher
Class ComponentCacheDestroyable
java.lang.Object
org.apache.struts2.dispatcher.ComponentCacheDestroyable
- All Implemented Interfaces:
InternalDestroyable
Clears
Component's static standard attributes cache to prevent
classloader leaks on hot redeploy.- Since:
- 7.2.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ComponentCacheDestroyable
public ComponentCacheDestroyable()
-
-
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
-