public interface Feature
Typically encapsulates concepts that involve multiple providers (e.g. filters or interceptors) and/or configuration properties.
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(Configurable configurable)
A call-back method called when the feature is to be enabled in a given
configurable scope.
|
boolean configure(Configurable configurable)
true if the feature was successfully enabled or false otherwise.
Note that under some circumstances the feature may decide not to enable itself, which
is indicated by returning false. In such case the configurable context does
not internally register the feature in the collection of enabled features and the attempt to enable the feature is ignored.
configurable - configurable context in which the feature should be enabled.true if the feature was successfully enabled, false
otherwise.Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.