Package org.apache.struts2.conversion
Class StrutsConversionPropertiesProcessor
java.lang.Object
org.apache.struts2.conversion.StrutsConversionPropertiesProcessor
- All Implemented Interfaces:
ConversionPropertiesProcessor
,EarlyInitializable
,Initializable
public class StrutsConversionPropertiesProcessor
extends Object
implements ConversionPropertiesProcessor, EarlyInitializable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
Use this method to initialise your bean, the whole dependency graph was already builtvoid
loadConversionProperties
(String propsName, boolean require) void
Process given property to load converters as not required (Properties file doesn't have to exist)void
processRequired
(String propsName) Process given property to load converters as required (Properties file must exist)void
setTypeConverterCreator
(TypeConverterCreator converterCreator) void
setTypeConverterHolder
(TypeConverterHolder converterHolder)
-
Constructor Details
-
StrutsConversionPropertiesProcessor
public StrutsConversionPropertiesProcessor()
-
-
Method Details
-
setTypeConverterCreator
-
setTypeConverterHolder
-
init
public void init()Description copied from interface:Initializable
Use this method to initialise your bean, the whole dependency graph was already built- Specified by:
init
in interfaceInitializable
-
process
Description copied from interface:ConversionPropertiesProcessor
Process given property to load converters as not required (Properties file doesn't have to exist)- Specified by:
process
in interfaceConversionPropertiesProcessor
- Parameters:
propsName
- Properties file name
-
processRequired
Description copied from interface:ConversionPropertiesProcessor
Process given property to load converters as required (Properties file must exist)- Specified by:
processRequired
in interfaceConversionPropertiesProcessor
- Parameters:
propsName
- Properties file name
-
loadConversionProperties
-