org.granite.messaging.jmf
Interface CodecRegistry

All Superinterfaces:
JMFConstants
All Known Implementing Classes:
DefaultCodecRegistry

public interface CodecRegistry
extends JMFConstants

Author:
Franck WOLFF

Nested Class Summary
static interface CodecRegistry.PrimitivePropertyCodec
           
 
Field Summary
 
Fields inherited from interface org.granite.messaging.jmf.JMFConstants
CLIENT_PERSISTENCE_COLLECTION_PACKAGE, JMF_1111_1010, JMF_1111_1011, JMF_1111_1100, JMF_1111_1101, JMF_1111_1110, JMF_1111_1111, JMF_ARRAY, JMF_ARRAY_LIST, JMF_BIG_DECIMAL, JMF_BIG_INTEGER, JMF_BOOLEAN, JMF_BOOLEAN_OBJECT, JMF_BYTE, JMF_BYTE_OBJECT, JMF_CHARACTER, JMF_CHARACTER_OBJECT, JMF_CLASS, JMF_DATE, JMF_DOUBLE, JMF_DOUBLE_OBJECT, JMF_ENUM, JMF_FLOAT, JMF_FLOAT_OBJECT, JMF_HASH_MAP, JMF_HASH_SET, JMF_INTEGER, JMF_INTEGER_OBJECT, JMF_LONG, JMF_LONG_OBJECT, JMF_NULL, JMF_OBJECT, JMF_OBJECT_END, JMF_SHORT, JMF_SHORT_OBJECT, JMF_SQL_DATE, JMF_SQL_TIME, JMF_SQL_TIMESTAMP, JMF_STRING, JMF_X011_1100, JMF_X011_1101, JMF_X011_1110, JMF_X011_1111, JMF_XX01_1110, JMF_XX01_1111, JMF_XXX0_1110, JMF_XXX0_1111, JMF_XXXX_0110, JMF_XXXX_0111, UTF8
 
Method Summary
 int extractJmfType(int parameterizedJmfType)
           
 ExtendedObjectCodec findExtendedDecoder(ExtendedObjectInput in, String className)
           
 ExtendedObjectCodec findExtendedEncoder(ExtendedObjectOutput out, Object v)
           
 BooleanCodec getBooleanCodec()
           
 ByteCodec getByteCodec()
           
 CharacterCodec getCharacterCodec()
           
<T> StandardCodec<T>
getCodec(int jmfType)
           
<T> StandardCodec<T>
getCodec(Object v)
           
 DoubleCodec getDoubleCodec()
           
 FloatCodec getFloatCodec()
           
 IntegerCodec getIntegerCodec()
           
 LongCodec getLongCodec()
           
 NullCodec getNullCodec()
           
 CodecRegistry.PrimitivePropertyCodec getPrimitivePropertyCodec(Class<?> propertyCls)
           
 ShortCodec getShortCodec()
           
 StringCodec getStringCodec()
           
 int jmfTypeOfPrimitiveClass(Class<?> cls)
           
 Class<?> primitiveClassOfJmfType(int jmfType)
           
 

Method Detail

getNullCodec

NullCodec getNullCodec()

getBooleanCodec

BooleanCodec getBooleanCodec()

getCharacterCodec

CharacterCodec getCharacterCodec()

getByteCodec

ByteCodec getByteCodec()

getShortCodec

ShortCodec getShortCodec()

getIntegerCodec

IntegerCodec getIntegerCodec()

getLongCodec

LongCodec getLongCodec()

getFloatCodec

FloatCodec getFloatCodec()

getDoubleCodec

DoubleCodec getDoubleCodec()

getStringCodec

StringCodec getStringCodec()

getCodec

<T> StandardCodec<T> getCodec(int jmfType)

getCodec

<T> StandardCodec<T> getCodec(Object v)

findExtendedEncoder

ExtendedObjectCodec findExtendedEncoder(ExtendedObjectOutput out,
                                        Object v)

findExtendedDecoder

ExtendedObjectCodec findExtendedDecoder(ExtendedObjectInput in,
                                        String className)

getPrimitivePropertyCodec

CodecRegistry.PrimitivePropertyCodec getPrimitivePropertyCodec(Class<?> propertyCls)

extractJmfType

int extractJmfType(int parameterizedJmfType)

jmfTypeOfPrimitiveClass

int jmfTypeOfPrimitiveClass(Class<?> cls)

primitiveClassOfJmfType

Class<?> primitiveClassOfJmfType(int jmfType)