|
From: Bill B. <bb...@re...> - 2008-07-21 12:38:13
|
Can you map out how people will configure and use these new JAXB providers? That is the hardest part of all of this since we have to DI mechanism. Ryan J. McDonough wrote: > I just opened: > > https://jira.jboss.org/jira/browse/RESTEASY-82 > > Currently, our JAXBProvider does not handle classed which are generated > from an existing XML Schema by XJC. To resolve this, I have refactored > the JAXBProvider into a number of more specialized providers: > > *JAXBContextCache*: > A shared class for all JAXB providers to cache the various JAXBContexts > in use > > *JAXBXmlRootEntityProvider* : > basically the same as our current JAXBProvider > > JAXBXmlTypeProvider: > Generated classes won't have the @XmlRootEntity annotation on them and > therefore will be ignored. > > *JAXBElementProvider*: > A JAXB provider for JAXBElement classes. > > With the number of classes here, I'm considering creating a jaxb > subpackage under: > > org.jboss.resteasy.plugins.providers > > Thoughts? > > I have already got most of this done and will be committing changes by > next Monday. Please let me know if you see any issues with these > changes. On a related note; we may also want to consider similar changes > for the JSON providers as well as this issue will affect this provider > also. > > Ryan- > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |