[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4020) Custom RESTEasy StringConverter provider classes need special registration

Christian Bauer (JIRA) jira-events at lists.jboss.org
Mon Mar 16 18:54:43 EDT 2009

    [ https://jira.jboss.org/jira/browse/JBSEAM-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457566#action_12457566 ] 

Christian Bauer commented on JBSEAM-4020:

I've committed an error log message when a StringConverter is declared as a Seam component, until we have the SPI to actually do that.

> Custom RESTEasy StringConverter provider classes need special registration
> --------------------------------------------------------------------------
>                 Key: JBSEAM-4020
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4020
>             Project: Seam
>          Issue Type: Task
>          Components: WS
>            Reporter: Christian Bauer
>            Assignee: Christian Bauer
> RESTEasy offers a custom StringConverter provider extension. Unlike normal providers, the SPI in RESTEasy for registration of these providers is different:
>                 if (StringConverter.class.isAssignableFrom(providerClass)) {
>                     providerFactory.addStringConverter(providerClass);
>                 } else {
>                     providerFactory.registerProvider(providerClass);
>                 }
> This needs to be fixed in RestEasyDispatcher.java

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list