public abstract class AbstractFeature extends WebServiceFeature implements Feature
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 |
|---|---|
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.
|
void |
initialize(Bus bus) |
void |
initialize(Client client,
Bus bus) |
void |
initialize(InterceptorProvider interceptorProvider,
Bus bus) |
void |
initialize(Server server,
Bus bus) |
protected void |
initializeProvider(InterceptorProvider provider,
Bus bus) |
isEnabledpublic String getID()
WebServiceFeaturegetID in class WebServiceFeaturepublic void initialize(Server server, Bus bus)
initialize in interface Featurepublic void initialize(Client client, Bus bus)
initialize in interface Featurepublic void initialize(InterceptorProvider interceptorProvider, Bus bus)
initialize in interface Featurepublic void initialize(Bus bus)
initialize in interface Featureprotected void initializeProvider(InterceptorProvider provider, Bus bus)
Copyright © 2017 JBoss by Red Hat. All rights reserved.