Package org.apache.struts2.factory

# Interface ConverterFactory

All Known Implementing Classes:
  `StrutsConverterFactory`

public interface ConverterFactory
Dedicated interface used by `ObjectFactory` to build `TypeConverter`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TypeConverter`
  `buildConverter(Class<? extends TypeConverter> converterClass, Map<String,Object> extraContext)`
  Build converter of given type

- ## Method Details

  - ### buildConverter

    TypeConverter buildConverter(Class<? extends TypeConverter> converterClass, Map<String,Object> extraContext) throws Exception
    Build converter of given type
    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