@InterfaceAudience.Public @InterfaceStability.Stable public interface Configurable
Any class marked as Configurable may have a context including its sub-configuration passed to it, requesting it configure itself.
Modifier and Type | Method and Description |
---|---|
void |
configure(Context context)
Request the implementing class to (re)configure itself.
|
void configure(Context context)
Request the implementing class to (re)configure itself.
When configuration parameters are changed, they must be reflected by the component asap.
There are no thread safety guarantees on when configure might be called.
context
- Copyright © 2009–2019 Apache Software Foundation. All rights reserved.