Package org.apache.struts2.json
Class JSONCacheDestroyable
java.lang.Object
org.apache.struts2.json.JSONCacheDestroyable
- All Implemented Interfaces:
org.apache.struts2.dispatcher.InternalDestroyable
public class JSONCacheDestroyable
extends Object
implements org.apache.struts2.dispatcher.InternalDestroyable
WW-5537: Clears JSON plugin's static BeanInfo caches when the Dispatcher is
destroyed, preventing classloader leaks during hot redeployment.
- Since:
- 7.2.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JSONCacheDestroyable
public JSONCacheDestroyable()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.struts2.dispatcher.InternalDestroyable
-