You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2007/07/06 22:32:04 UTC
[jira] Commented: (CXF-340) Support adding extra classes to JAXB
context
[ https://issues.apache.org/jira/browse/CXF-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510782 ]
Daniel Kulp commented on CXF-340:
---------------------------------
Just wanted to update this to let you know I just added support for the jaxb.index file into the jaxb databinding. Thus, it may work without the "additionalContextClasses" stuff.
> Support adding extra classes to JAXB context
> --------------------------------------------
>
> Key: CXF-340
> URL: https://issues.apache.org/jira/browse/CXF-340
> Project: CXF
> Issue Type: Improvement
> Affects Versions: 2.0-M1
> Reporter: Dan Diephouse
> Assignee: Freeman Fang
> Fix For: 2.1
>
> Attachments: cxf-test-extends.tar.gz, cxf-test.tar.gz, Widget.java
>
>
> Users may have their own JAXB classes which need to be included in the context. We should provide a simple mechanism to add extra classes to the context. (This worked pretty well in XFire).
> HashMap props = new HashMap();
> props.put("jaxb.additionalContextClasses", new Class[] { Foo.class, Bar.class });
> serverFactory.setProperties(props);
> serverFactory.create();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.