org.springframework.cloud.config.server.environment.NativeEnvironmentRepositoryFactory Java Examples

The following examples show how to use org.springframework.cloud.config.server.environment.NativeEnvironmentRepositoryFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NativeRepositoryConfiguration.java    From flair-registry with Apache License 2.0 4 votes vote down vote up
@Bean
public NativeEnvironmentRepository nativeEnvironmentRepository(NativeEnvironmentRepositoryFactory factory,
                                                               NativeEnvironmentProperties environmentProperties) {
    return factory.build(environmentProperties);
}
 
Example #2
Source File: NativeRepositoryConfiguration.java    From jhipster-registry with Apache License 2.0 4 votes vote down vote up
@Bean
public NativeEnvironmentRepository nativeEnvironmentRepository(NativeEnvironmentRepositoryFactory factory,
                                                               NativeEnvironmentProperties environmentProperties) {
    return factory.build(environmentProperties);
}
 
Example #3
Source File: EnvironmentRepositoryConfiguration.java    From spring-cloud-config with Apache License 2.0 4 votes vote down vote up
@Bean
public NativeEnvironmentRepositoryFactory nativeEnvironmentRepositoryFactory(
		ConfigurableEnvironment environment, ConfigServerProperties properties) {
	return new NativeEnvironmentRepositoryFactory(environment, properties);
}
 
Example #4
Source File: EnvironmentRepositoryConfiguration.java    From spring-cloud-config with Apache License 2.0 4 votes vote down vote up
@Bean
public NativeEnvironmentRepository nativeEnvironmentRepository(
		NativeEnvironmentRepositoryFactory factory,
		NativeEnvironmentProperties environmentProperties) {
	return factory.build(environmentProperties);
}