Java Code Examples for org.springframework.cloud.config.java.AbstractCloudConfig

The following are top voted examples for showing how to use org.springframework.cloud.config.java.AbstractCloudConfig. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: spring-cloud-vault-connector   File: VaultCloudServiceConnectionFactory.java   View source code 3 votes vote down vote up
/**
 * Create a new {@link VaultCloudServiceConnectionFactory}.
 *
 * @param cloudConfig must not be {@literal null}.
 * @param cloud must not be {@literal null}.
 */
public VaultCloudServiceConnectionFactory(AbstractCloudConfig cloudConfig, Cloud cloud) {

	super(cloud);

	Assert.notNull(cloudConfig, "CloudConnectorsConfig must not be null");
	Assert.notNull(cloud, "Cloud must not be null");

	this.cloudConfig = cloudConfig;
}