public void setupCommonsConfiguration() { logger.debug("Setting up commons-configuration lookups..."); BeanLookup serverInfoLookup = new BeanLookup(serverInfo); ConfigurationInterpolator.registerGlobalLookup( "serverInfo", serverInfoLookup); }
/** * 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; } }
public void setupCommonsConfiguration() { logger.debug("Setting up commons-configuration lookups..."); BeanLookup serverInfoLookup = new BeanLookup(serverInfo); ConfigurationInterpolator.registerGlobalLookup("serverInfo", serverInfoLookup); }