cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessio Soldano <asold...@redhat.com>
Subject Re: Programmatic config of features in the Bus
Date Wed, 15 Sep 2010 12:37:05 GMT
  On 09/15/2010 10:56 AM, Alessio Soldano wrote:
>  Hi Folks,
> looking at the org.apache.cxf.Bus interface, I see there's no way to 
> set features there. The getFeatures() / 
> setFeatures(Collection<AbstractFeature> features) methods are only in 
> the CXFBusImpl implementation. Is there a design reason behind this?

Replying to myself... probably because users can just create an instance 
of the desired feature and register that to the bus the other way by 
calling the initialize(..) methods coming in AbstractFeature.
Sorry for the noise.
Cheers
Alessio

-- 
Alessio Soldano
Web Service Lead, JBoss


Mime
View raw message