Class KeyManipulatingConfigRetriever

java.lang.Object
org.chenile.cconfig.spi.KeyManipulatingConfigRetriever
All Implemented Interfaces:
Command<ConfigContext>
Direct Known Subclasses:
DbBasedCconfigRetriever, PropertiesBasedCconfigRetriever

public abstract class KeyManipulatingConfigRetriever extends Object implements Command<ConfigContext>
This needs to be enhanced by all the config retrievers who want to allow manipulating existing keys. They need to return a bunch of CConfigs - each with the intent if manipulating one key (there can be multiple CConfigs that manipulate the same key).

The CConfig can replace an entire key or parts of it as specified in the Cconfig.path

The expression language supported is SPEL. Others can also be used.
  • Constructor Details

    • KeyManipulatingConfigRetriever

      public KeyManipulatingConfigRetriever()
  • Method Details