public abstract class AbstractFeature extends WebServiceFeature implements AbstractPortableFeature
By default the initialize methods all delegate to initializeProvider(InterceptorProvider). If you're simply adding interceptors to a Server, Client, or Bus, this allows you to add them easily.
enabled| Constructor and Description | 
|---|
| AbstractFeature() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | doInitializeProvider(InterceptorProvider provider,
                    Bus bus) | 
| static <T> T | getActive(List<? extends Feature> features,
         Class<T> type)Convenience method to extract a feature by type from an active list. | 
| String | getID() | 
| protected void | initializeProvider(InterceptorProvider provider,
                  Bus bus) | 
| boolean | isEnabled() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, initialize, initialize, initializepublic String getID()
getID in class WebServiceFeaturepublic boolean isEnabled()
isEnabled in class WebServiceFeaturepublic void doInitializeProvider(InterceptorProvider provider, Bus bus)
doInitializeProvider in interface AbstractPortableFeatureprotected void initializeProvider(InterceptorProvider provider, Bus bus)
public static <T> T getActive(List<? extends Feature> features, Class<T> type)
AbstractPortableFeaturegetActive in interface AbstractPortableFeaturefeatures - the given feature listtype - the feature type requiredApache CXF