Interface ConverterFactory

All Known Implementing Classes:
StrutsConverterFactory

public interface ConverterFactory
Dedicated interface used by ObjectFactory to build TypeConverter
  • 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