16171819202122
public class Application { @Bean public Cloud cloud() { return new CloudFactory().getCloud(); }
50515253545556
@Profile(SaganProfiles.CLOUDFOUNDRY) class CloudFoundryDatabaseConfig extends DatabaseConfig { @Bean public Cloud cloud() { return new CloudFactory().getCloud(); }