Package org.apache.struts2.dispatcher
Class ActionValidatorManagerDestroyable
java.lang.Object
org.apache.struts2.dispatcher.ActionValidatorManagerDestroyable
- All Implemented Interfaces:
InternalDestroyable
Clears the
ActionValidatorManager in use. Registered as a separate bean rather than
making the manager itself an InternalDestroyable: the container keys singletons by
(type, name), so a second registration of the manager class would build a second, empty instance.- Since:
- 7.4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Releases static state held by this component.voidsetActionValidatorManager(ActionValidatorManager actionValidatorManager)
-
Constructor Details
-
ActionValidatorManagerDestroyable
public ActionValidatorManagerDestroyable()
-
-
Method Details
-
setActionValidatorManager
-
destroy
public void destroy()Description copied from interface:InternalDestroyableReleases static state held by this component. Called once duringDispatcher.cleanup().- Specified by:
destroyin interfaceInternalDestroyable
-