DefaultConverterRepository¶
-
public class
DefaultConverterRepository
<WireType> implements ConverterRepository<WireType>¶ A
ConverterRepository
implementation used as the default in RSB. The accessor methods returnConverterSelectionStrategy
instances of typeUnambiguousConverterMap
. Adding a converter with the same signature as an existing one will replace the previous entry.- Parameters
<WireType> – wire type of contained converters
Methods¶
getConverterMap¶
-
protected Map<ConverterSignature, Converter<WireType>>
getConverterMap
()¶ - Returns
the converterMap
getConvertersForDeserialization¶
-
public ConverterSelectionStrategy<WireType>
getConvertersForDeserialization
()¶
getConvertersForSerialization¶
-
public ConverterSelectionStrategy<WireType>
getConvertersForSerialization
()¶
getDefaultConverterRepository¶
-
public static DefaultConverterRepository<ByteBuffer>
getDefaultConverterRepository
()¶ Returns a global repository for wire type
ByteBuffer
.- Returns
repository instance
getRegisteredConverters¶
-
public Collection<Converter<WireType>>
getRegisteredConverters
()¶ Returns all converters that are currently contained in this repository.
- Returns
collection of contained converters, not
null
, might be empty. Order has no significance