This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2011 JFrog Ltd. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final akkaVersion = '1.0-RC1' | |
final akkaGroup = 'se.scalablesolutions.akka' | |
dependencies { | |
compile group: akkaGroup, name: 'akka', version: akkaVersion | |
compile group: akkaGroup, name: 'akka-actor', version: akkaVersion | |
compile group: akkaGroup, name: 'akka-stm', version: akkaVersion | |
compile group: akkaGroup, name: 'akka-typed-actor', version: akkaVersion | |
compile group: akkaGroup, name: 'akka-remote', version: akkaVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
public class ConfigurationWithSupport { | |
@Autowired | |
private ConfigurationSupport configurationSupport; | |
@Bean | |
public SomeBean someBean() { | |
SomeFactoryBean someFactoryBean = new SomeFactoryBean(); | |
//configure your factoryBean here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: spring-batch-samples/src/main/resources/data-source-context.xml | |
=================================================================== | |
--- spring-batch-samples/src/main/resources/data-source-context.xml (revision 4050) | |
+++ spring-batch-samples/src/main/resources/data-source-context.xml (revision ) | |
@@ -28,6 +28,31 @@ | |
<property name="dataSource" ref="dataSource" /> | |
</bean> | |
+ <bean id="mongoInitializer" class="org.springframework.batch.mongo.config.MongoDbInitializer"> | |
+ <property name="db" ref="db"/> |
NewerOlder