Update so that it can be natively compiled by Spring Native 0.11
This commit is contained in:
@@ -30,7 +30,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
|
||||
* @author Michael Minella
|
||||
* @author Glenn Renfro
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@Profile("embedded")
|
||||
public class EmbeddedDataSourceConfiguration {
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
|
||||
* Creates two data sources that use external databases.
|
||||
* @author Glenn Renfro
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@Profile("external")
|
||||
public class ExternalDataSourceConfiguration {
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ public class MultiDataSourcesExternalApplicationTests {
|
||||
.as("Unable to find update task message: " + output).isTrue();
|
||||
}
|
||||
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public static class TaskLauncherConfiguration {
|
||||
|
||||
private static Server defaultServer;
|
||||
|
||||
Reference in New Issue
Block a user