public abstract class AbstractFeature extends Object
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.
| Constructor and Description |
|---|
AbstractFeature() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
getActive(List<AbstractFeature> features,
Class<T> type)
Convenience method to extract a feature by type from an active list.
|
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) |
public void initialize(InterceptorProvider interceptorProvider, Bus bus)
public void initialize(Bus bus)
protected void initializeProvider(InterceptorProvider provider, Bus bus)
public static <T> T getActive(List<AbstractFeature> features, Class<T> type)
features - the given feature listtype - the feature type requiredApache CXF