Hello,

I use CXF, Spring and Tomcat. What way can CXF Feature be added 
programmatically to CXF Bus instance? What way can this be done via CXF XML (at 
bus level)?
Also, if I do not want configure a bunch of features separately, does it make 
sense to aggregate them within a newly created Feature (see below)?

public class MyCompositeFeature extends AbstractFeature {
    @Override
    public void initialize(Server server, Bus bus) {
       AbstractFeature feature = new ServiceCleanupFeature();
       bus.getFeatures().add(feature);
       feature.initialize(server, bus);
    }
}

Thanks,
Yossi


This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

Reply via email to