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()
Get the unique identifier for this WebServiceFeature.
|
protected void |
initializeProvider(InterceptorProvider provider,
Bus bus) |
boolean |
isEnabled()
Returns
true if this feature is enabled. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, initialize, initialize, initializepublic String getID()
WebServiceFeaturegetID in class WebServiceFeaturepublic boolean isEnabled()
WebServiceFeaturetrue if this feature is enabled.isEnabled in class WebServiceFeaturetrue if and only if the feature is enabled .public 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 requiredCopyright © 2019 JBoss by Red Hat. All rights reserved.