You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Yogesh Rao (JIRA)" <ji...@apache.org> on 2014/07/23 07:56:38 UTC

[jira] [Comment Edited] (SANDBOX-472) Transformer Registry

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

Yogesh Rao edited comment on SANDBOX-472 at 7/23/14 5:55 AM:
-------------------------------------------------------------

before applying this patch it is necessary to apply the patches for issue/ task : sandbox 473 as the API uses the exception which would be thrown by the convert method in Transformer. Assuming for now that the exception is needed in the API. 

I am now working on class which loads all the transformers into the registry and does the conversion as well.

Regards,
-Yogesh


was (Author: yogu13):
before applying this patch it is necessary to apply the patches for issue/ task : sandbox 472 as the API uses the exception which would be thrown by the convert method in Transformer. Assuming for now that the exception is needed in the API. 

I am now working on class which loads all the transformers into the registry and does the conversion as well.

Regards,
-Yogesh

> Transformer Registry
> --------------------
>
>                 Key: SANDBOX-472
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-472
>             Project: Commons Sandbox
>          Issue Type: Task
>          Components: BeanUtils2
>    Affects Versions: Nightly Builds
>            Reporter: Yogesh Rao
>             Fix For: Nightly Builds
>
>         Attachments: TestStringFloatTransformerImpl.java.txt, TestStringIntegerTransformerImpl.java.txt, TransformerRegistry.java.txt, TransformerRegistryTestCase.java.txt
>
>
> Hi,
> This is my first development JIRA for BU2 so apologies in case i m missing out on basics. Beanutils1 has a functionality wherein all the converters are registered and are called when conversion in value is required. This functionality is missing for BU2 project. I also saw that BeanUtils1 uses WeakFastHashMap for this, which seems like is having issues across architectures and did see few JIRA's on this. Wanted inputs if having a synchronized instance of WeakHashMap wrapped in the TransformerRegsitry class and providing methods to register, deregister, restoreDefault, lookup be desired?



--
This message was sent by Atlassian JIRA
(v6.2#6252)