Package org.apache.struts2.factory
Class StrutsConverterFactory
java.lang.Object
org.apache.struts2.factory.StrutsConverterFactory
- All Implemented Interfaces:
- ConverterFactory
Default implementation
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuildConverter(Class<? extends TypeConverter> converterClass, Map<String, Object> extraContext) Build converter of given typevoidsetContainer(Container container) 
- 
Constructor Details- 
StrutsConverterFactorypublic StrutsConverterFactory()
 
- 
- 
Method Details- 
setContainer
- 
buildConverterpublic TypeConverter buildConverter(Class<? extends TypeConverter> converterClass, Map<String, Object> extraContext) throws ExceptionDescription copied from interface:ConverterFactoryBuild converter of given type- Specified by:
- buildConverterin interface- ConverterFactory
- Parameters:
- converterClass- to instantiate
- extraContext- a Map of extra context which uses the same keys as the- ActionContext
- Returns:
- instance of converterClass with inject dependencies
- Throws:
- Exception- in case of any errors
 
 
-