public static Serializer getSerializer ( Class < ? > type ) { Class < ? > serializable = lookupSerializableType ( type ) ; Serializer serializer = serializers . get ( serializable ) ; if ( serializer == null ) { serializer = getInstance ( ) . createSerializer ( serializable ) ; serializers . put ( serializable , serializer ) ; } return serializer ; }
Gets a serializer instance .