public class StrutsConversionPropertiesProcessor extends Object implements ConversionPropertiesProcessor, EarlyInitializable
Constructor and Description |
---|
StrutsConversionPropertiesProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Use this method to initialise your bean, the whole dependency graph was already built
|
void |
loadConversionProperties(String propsName,
boolean require) |
void |
process(String propsName)
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) |
public void setTypeConverterCreator(TypeConverterCreator converterCreator)
public void setTypeConverterHolder(TypeConverterHolder converterHolder)
public void init()
Initializable
init
in interface Initializable
public void process(String propsName)
ConversionPropertiesProcessor
process
in interface ConversionPropertiesProcessor
propsName
- Properties file namepublic void processRequired(String propsName)
ConversionPropertiesProcessor
processRequired
in interface ConversionPropertiesProcessor
propsName
- Properties file namepublic void loadConversionProperties(String propsName, boolean require)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.