@Retention(value=RUNTIME) @Inherited @Target(value=TYPE) public @interface ModelScan
Model
classes, or classpath locations of model classes, that will be used to generate a ModelRegistry
instance that identifies and maps valid persisted models in the current context. Is used
similarly to Spring's ComponentScan.| Modifier and Type | Optional Element and Description |
|---|---|
Class<?>[] |
basePackageClasses
An array of individual classes to be registered as models in the context.
|
String[] |
basePackages
Array of classpath locations.
|
String[] |
value
Array of classpath locations.
|
public abstract String[] value
basePackages.public abstract String[] basePackages
value is not null or empty.public abstract Class<?>[] basePackageClasses
Copyright © 2016. All rights reserved.