Java 类org.apache.commons.configuration.interpol.ConfigurationInterpolator 实例源码

项目:Portofino    文件:PortofinoListener.java   
public void setupCommonsConfiguration() {
    logger.debug("Setting up commons-configuration lookups...");
    BeanLookup serverInfoLookup = new BeanLookup(serverInfo);
    ConfigurationInterpolator.registerGlobalLookup(
            "serverInfo",
            serverInfoLookup);
}
项目:overlord-commons    文件:ConfigurationFactory.java   
/**
 * Registers global lookups for overlord configuration.  This allows custom
 * property interpolation to take place.
 */
private synchronized static void registerGlobalLookups() {
    if (!globalLookupsRegistered) {
        ConfigurationInterpolator.registerGlobalLookup("vault", new VaultLookup()); //$NON-NLS-1$
        globalLookupsRegistered = true;
    }
}
项目:manydesigns.cn    文件:PortofinoListener.java   
public void setupCommonsConfiguration() {
    logger.debug("Setting up commons-configuration lookups...");
    BeanLookup serverInfoLookup = new BeanLookup(serverInfo);
    ConfigurationInterpolator.registerGlobalLookup("serverInfo", serverInfoLookup);
}