Package org.apache.cxf.feature
Class AbstractFeature
java.lang.Object
jakarta.xml.ws.WebServiceFeature
org.apache.cxf.feature.AbstractFeature
- All Implemented Interfaces:
- AbstractPortableFeature,- Feature
- Direct Known Subclasses:
- DelegatingFeature,- WrappedFeature,- WSAddressingFeature
public abstract class AbstractFeature
extends jakarta.xml.ws.WebServiceFeature
implements AbstractPortableFeature
A Feature is something that is able to customize a Server, Client, or Bus, typically
 adding capabilities. For instance, there may be a LoggingFeature which configures
 one of the above to log each of their messages.
 
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.
- 
Field SummaryFields inherited from class jakarta.xml.ws.WebServiceFeatureenabled
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoInitializeProvider(InterceptorProvider provider, Bus bus) static <T> TConvenience method to extract a feature by type from an active list.getID()protected voidinitializeProvider(InterceptorProvider provider, Bus bus) booleanMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.feature.AbstractPortableFeatureinitialize, initialize, initialize, initialize
- 
Constructor Details- 
AbstractFeaturepublic AbstractFeature()
 
- 
- 
Method Details- 
getID- Specified by:
- getIDin class- jakarta.xml.ws.WebServiceFeature
 
- 
isEnabledpublic boolean isEnabled()- Overrides:
- isEnabledin class- jakarta.xml.ws.WebServiceFeature
 
- 
doInitializeProvider- Specified by:
- doInitializeProviderin interface- AbstractPortableFeature
 
- 
initializeProvider
- 
getActiveDescription copied from interface:AbstractPortableFeatureConvenience method to extract a feature by type from an active list.- Parameters:
- features- the given feature list
- type- the feature type required
- Returns:
- the feature of the specified type if active
 
 
-