public EnvironmentFactoryBuilder withStaticConfig ( Config configNode ) { checkState ( ! this . configResolver . isPresent ( ) , "Configuration resolution already set" ) ; return new EnvironmentFactoryBuilder ( backendDomain , client , closer , resolver , Optional . of ( new StaticConfigResolver ( configNode ) ) ) ; }
Statically inject a config object into the environment .