Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 64002 invoked from network); 9 Jun 2007 00:55:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jun 2007 00:55:47 -0000 Received: (qmail 71842 invoked by uid 500); 9 Jun 2007 00:55:50 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 71830 invoked by uid 500); 9 Jun 2007 00:55:50 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 71817 invoked by uid 99); 9 Jun 2007 00:55:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 17:55:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 17:55:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 18E0D7141F4 for ; Fri, 8 Jun 2007 17:55:26 -0700 (PDT) Message-ID: <1977625.1181350526099.JavaMail.jira@brutus> Date: Fri, 8 Jun 2007 17:55:26 -0700 (PDT) From: "Steve Kondik (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Commented: (CXF-340) Support adding extra classes to JAXB context In-Reply-To: <2578573.1167418100956.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502969 ] Steve Kondik commented on CXF-340: ---------------------------------- This is a showstopper for our app, since it doesn't allow for inheritence (JAXB can't see the unreferenced classes). I'll try to cook up a patch, but I'm new with CXF. > 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 > > > 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.