java.lang.Object
org.litebridgedb.orm.support.EntityScanner
Automated discovery of entity mappings used by Litebridge.
A utility class for scanning base packages to locate Litebridge entity classes annotated
with @Table from a specified base package.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>[]scanBasePackage(String... packageNames) Scans provided base packages for entity classes annotated with @Table and returns them.
-
Constructor Details
-
EntityScanner
public EntityScanner()
-
-
Method Details
-
scanBasePackage
Scans provided base packages for entity classes annotated with @Table and returns them.- Parameters:
packageNames- Base package(s) to scan for entity classes- Returns:
- An array of entity classes annotated with @Table
-