org.apache.struts2.json

## Class JSONCacheDestroyable

- java.lang.Object
- - org.apache.struts2.json.JSONCacheDestroyable

- All Implemented Interfaces:
    InternalDestroyable

      public class JSONCacheDestroyable
      extends Object
      implements InternalDestroyable

  WW-5537: Clears JSON plugin's static BeanInfo caches when the Dispatcher is destroyed, preventing classloader leaks during hot redeployment.
  Since:
    6.9.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JSONCacheDestroyable()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroy()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JSONCacheDestroyable

          public JSONCacheDestroyable()

  - ### Method Detail

    - #### destroy

          public void destroy()

      Specified by:
        `destroy` in interface `InternalDestroyable`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.