Package org.apache.struts2.dispatcher
Class TypeConverterHolderDestroyable
java.lang.Object
org.apache.struts2.dispatcher.TypeConverterHolderDestroyable
- All Implemented Interfaces:
InternalDestroyable
Clears the
TypeConverterHolder in use. Registered as a separate bean rather than making
the holder itself an InternalDestroyable: the container keys singletons by (type, name),
so a second registration of the holder 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.voidsetTypeConverterHolder(TypeConverterHolder typeConverterHolder)
-
Constructor Details
-
TypeConverterHolderDestroyable
public TypeConverterHolderDestroyable()
-
-
Method Details
-
setTypeConverterHolder
-
destroy
public void destroy()Description copied from interface:InternalDestroyableReleases static state held by this component. Called once duringDispatcher.cleanup().- Specified by:
destroyin interfaceInternalDestroyable
-