|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Feature
A configurable feature.
Typically encapsulates concepts that involve multiple filters, interceptors and/or configuration properties.
| Method Summary | |
|---|---|
boolean |
onEnable(Configuration configuration)
Called when the feature is to be enabled. |
| Method Detail |
|---|
boolean onEnable(Configuration configuration)
true if the feature was enabled or false otherwise.
Note that under some circumstances the feature can decide not to enable itself, which
is indicated by the returned false value. In such case the configuration does
not internally register the feature in the collection of enabled features and the attempt to enable the feature is ignored.
configuration - configuration where the feature should be enabled.
true if the feature was successfully enabled, false
otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||