cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-340) Support adding extra classes to JAXB context
Date Mon, 23 Apr 2007 04:08:17 GMT

     [ https://issues.apache.org/jira/browse/CXF-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan Diephouse updated CXF-340:
------------------------------

    Fix Version/s:     (was: 2.0-RC)
                   2.1

Moving these issues to 2.1 as I don't think we'll get them for 2.0. Feel free to switch reschedule
if you feel appropriate.

> 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
>         Assigned To: Freeman Fang
>             Fix For: 2.1
>
>
> 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.


Mime
View raw message