Class Neo4jEntityScanner
java.lang.Object
org.springframework.data.neo4j.config.Neo4jEntityScanner
A utility class providing a way to discover an initial entity set for a
Neo4jMappingContext
.- Since:
- 6.0.2
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionstatic Neo4jEntityScanner
get()
static Neo4jEntityScanner
get
(ResourceLoader resourceLoader) Scan for entities with the specified annotations.scan
(Collection<String> packages) Scan for entities with the specified annotations.
-
Method Details
-
get
-
get
-
scan
Scan for entities with the specified annotations.- Parameters:
basePackages
- the list of base packages to scan.- Returns:
- a set of entity classes
- Throws:
ClassNotFoundException
- if an entity class cannot be loaded
-
scan
Scan for entities with the specified annotations.- Parameters:
packages
- the list of base packages to scan.- Returns:
- a set of entity classes
- Throws:
ClassNotFoundException
- if an entity class cannot be loaded- See Also:
-