cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Better type safety on proxy factory beans...
Date Mon, 11 Oct 2010 11:55:39 GMT
What do people think of enabling

JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
        factory.setDataBinding(new AegisDatabinding());
        // perhaps not needed given the endpointInterface annotation
        factory.setServiceClass(DocumentDatabase.class);
        factory.setAddress(serviceUrl);
        return (DocumentDatabase) factory.create();

to change to

       return factory.create(DocumentDatabase.class);

by way of a quick <T> on the method?

Mime
View raw message