Class Neo4jRepositoriesAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.data.neo4j.Neo4jRepositoriesAutoConfiguration
@AutoConfiguration(after=Neo4jDataAutoConfiguration.class)
@ConditionalOnClass({org.neo4j.driver.Driver.class,org.springframework.data.neo4j.repository.Neo4jRepository.class})
@ConditionalOnMissingBean({org.springframework.data.neo4j.repository.support.Neo4jRepositoryFactoryBean.class,org.springframework.data.neo4j.repository.config.Neo4jRepositoryConfigurationExtension.class})
@ConditionalOnRepositoryType(store="neo4j",
type=IMPERATIVE)
@Import(org.springframework.boot.autoconfigure.data.neo4j.Neo4jRepositoriesRegistrar.class)
public class Neo4jRepositoriesAutoConfiguration
extends Object
Auto-configuration
for Spring Data's Neo4j
Repositories.
Activates when there is no bean of type Neo4jRepositoryFactoryBean
or
Neo4jRepositoryConfigurationExtension
configured in the context, the Spring
Data Neo4j Neo4jRepository
type is on the classpath, the Neo4j client driver
API is on the classpath, and there is no other configured Neo4jRepository
.
Once in effect, the auto-configuration is the equivalent of enabling Neo4j repositories
using the @EnableNeo4jRepositories
annotation.
- Since:
- 1.4.0
- Author:
- Dave Syer, Oliver Gierke, Josh Long, Michael J. Simons
- See Also:
-
EnableNeo4jRepositories
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Neo4jRepositoriesAutoConfiguration
public Neo4jRepositoriesAutoConfiguration()
-