Package com.github.ambry.frontend
Interface IdConverterFactory
-
public interface IdConverterFactory
IdConverterFactory is a factory to generate all the supporting cast required to instantiate aIdConverter
. Usually called with the canonical class name and as such might have to support appropriate (multiple) constructors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdConverter
getIdConverter()
Returns an instance of theIdConverter
that the factory generates.
-
-
-
Method Detail
-
getIdConverter
IdConverter getIdConverter() throws java.lang.InstantiationException
Returns an instance of theIdConverter
that the factory generates.- Returns:
- an instance of
IdConverter
generated by this factory. - Throws:
java.lang.InstantiationException
- if theIdConverter
instance cannot be created.
-
-