public class BasicCodecLookup extends Object implements CodecLookup, InitializingBean
| Modifiers | Name | Description |
|---|---|---|
static StreamingEncoder |
NONE_ENCODER |
|
protected ConcurrentMap<String, Decoder> |
decoders |
|
protected ConcurrentMap<String, Encoder> |
encoders |
| Constructor and description |
|---|
BasicCodecLookup() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
afterPropertiesSet() |
<T extends CodecIdentifierProvider> |
protected T |
createChainedCodecInstance(String codecName, ConcurrentMap<String, T> map, Class<T> returnType) |
<T extends CodecIdentifierProvider> |
protected T |
createCodec(String codecName, ConcurrentMap<String, T> map, Class<T> returnType) |
|
protected Collection<String> |
createNameVariations(String name, CodecIdentifierProvider target) |
<T extends CodecIdentifierProvider> |
protected T |
lookupCodec(String codecName, ConcurrentMap<String, T> map, Class<T> returnType) |
|
public Decoder |
lookupDecoder(String codecName) |
|
public Encoder |
lookupEncoder(String codecName) |
<T extends CodecIdentifierProvider> |
protected T |
putChainedCodecInstance(String codecName, ConcurrentMap<String, T> map, T createdInstance) |
|
public void |
reInitialize() |
|
public void |
registerCodecFactory(CodecFactory codecFactory) |
|
protected void |
registerCodecs() |
|
public void |
registerDecoder(Decoder decoder) |
|
public void |
registerEncoder(Encoder encoder) |
<T extends CodecIdentifierProvider> |
protected void |
registerVariationsOfName(Map<String, T> destinationMap, T target, String name) |
<T extends CodecIdentifierProvider> |
protected void |
registerWithNameVaritions(Map<String, T> destinationMap, T target) |