cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: svn commit: r580028 - in /incubator/cxf/trunk: distribution/src/main/release/samples/integration/jca/outbound/src/demo/servlet/ rt/core/src/main/java/org/apache/cxf/wsdl11/ tools/common/src/main/java/org/apache/cxf/tools/common/model/ tools/common/src/...
Date Fri, 28 Sep 2007 01:31:48 GMT
On Thursday 27 September 2007, mmao@apache.org wrote:
>              if (rawJaxbModelGenCode instanceof S2JJAXBModel) {
>                  S2JJAXBModel schem2JavaJaxbModel =
> (S2JJAXBModel)rawJaxbModelGenCode; +
> +                ClassCollector classCollector =
> context.get(ClassCollector.class); +                for (String cls :
> schem2JavaJaxbModel.getClassList()) { +                    if
> (cls.endsWith("ObjectFactory")) {
> +                        classCollector.getTypesFactory().add(cls);
> +                    }
> +                }
> +
>  

The call to getClassList() is deprecated and is generated deprecation 
warnings.   Can you change that to the call:
List<JClass> getAllObjectFactories();


Thanks!

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog
Mime
View raw message