streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (STREAMS-241) Reflection-based StreamsJacksonMapper
Date Mon, 01 Dec 2014 21:16:14 GMT

    [ https://issues.apache.org/jira/browse/STREAMS-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14230474#comment-14230474
] 

ASF GitHub Bot commented on STREAMS-241:
----------------------------------------

GitHub user steveblackmon opened a pull request:

    https://github.com/apache/incubator-streams/pull/148

    STREAMS-241 reflection-based DateTimeFormat binding

    resolves STREAMS-241
    reflection-based DateTimeFormat binding
    removes responsibility for specifying date-time formats from classes which instantiate
StreamsJacksonMapper

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/steveblackmon/incubator-streams STREAMS-241

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-streams/pull/148.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #148
    
----
commit c44ebff78c58581d541738892e096a284ae381fa
Author: sblackmon <sblackmon@w2odigital.com>
Date:   2014-12-01T21:00:31Z

    resolves STREAMS-241

commit 0012cd6daa147edff9d7c1485ad80474180663ea
Author: sblackmon <sblackmon@w2odigital.com>
Date:   2014-12-01T21:12:41Z

    headers

----


> Reflection-based StreamsJacksonMapper
> -------------------------------------
>
>                 Key: STREAMS-241
>                 URL: https://issues.apache.org/jira/browse/STREAMS-241
>             Project: Streams
>          Issue Type: Sub-task
>            Reporter: Steve Blackmon
>
> StreamsJacksonMapper requires a list of joda time strings to be supplied by the instantiating
class.  This is a problem because StreamsJacksonMapper's supporting classes are not serializable,
and thus has to be created via prepare method.  If StreamsJacksonMapper.getInstance() were
able to return a mapper with support for all date-time formats available from components on
the classpath, implementation of serializable generic type conversion processors would be
greatly simplified.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message