public class BasicCodecLookup extends java.lang.Object implements CodecLookup, org.springframework.beans.factory.InitializingBean
Modifiers | Name | Description |
---|---|---|
private static java.lang.String |
NONE_CODEC_NAME |
|
static StreamingEncoder |
NONE_ENCODER |
|
protected java.util.concurrent.ConcurrentMap<java.lang.String, Decoder> |
decoders |
|
protected java.util.concurrent.ConcurrentMap<java.lang.String, Encoder> |
encoders |
Constructor and description |
---|
BasicCodecLookup
() |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
afterPropertiesSet() |
<T extends CodecIdentifierProvider> |
protected T |
createChainedCodecInstance(java.lang.String codecName, java.util.concurrent.ConcurrentMap<java.lang.String, T> map, java.lang.Class<T> returnType) |
<T extends CodecIdentifierProvider> |
protected T |
createCodec(java.lang.String codecName, java.util.concurrent.ConcurrentMap<java.lang.String, T> map, java.lang.Class<T> returnType) |
|
protected java.util.Collection<java.lang.String> |
createNameVariations(java.lang.String name, CodecIdentifierProvider target) |
<T extends CodecIdentifierProvider> |
protected T |
lookupCodec(java.lang.String codecName, java.util.concurrent.ConcurrentMap<java.lang.String, T> map, java.lang.Class<T> returnType) |
|
public Decoder |
lookupDecoder(java.lang.String codecName) |
|
public Encoder |
lookupEncoder(java.lang.String codecName) |
<T extends CodecIdentifierProvider> |
protected T |
putChainedCodecInstance(java.lang.String codecName, java.util.concurrent.ConcurrentMap<java.lang.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(java.util.Map<java.lang.String, T> destinationMap, T target, java.lang.String name) |
<T extends CodecIdentifierProvider> |
protected void |
registerWithNameVaritions(java.util.Map<java.lang.String, T> destinationMap, T target) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |