Annotation Interface EnableFilesystemContentRepositories
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Inherited
@Import({FilesystemContentRepositoriesRegistrar.class,FilesystemStoreConfiguration.class})
@Deprecated
public @interface EnableFilesystemContentRepositories
Deprecated.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<?>[]Deprecated.Type-safe alternative tobasePackages()for specifying the packages to scan for annotated components.String[]Deprecated.Base packages to scan for annotated components.Class<?>Deprecated.Returns theFactoryBeanclass to be used for each repository instance.String[]Deprecated.Alias for thebasePackages()attribute.
-
Element Details
-
value
String[] valueDeprecated.Alias for thebasePackages()attribute. Allows for more concise annotation declarations e.g.:@EnableJpaRepositories("org.my.pkg")instead of@EnableJpaRepositories(basePackages="org.my.pkg").- Returns:
- the base package names
- Default:
- {}
-
basePackages
String[] basePackagesDeprecated.Base packages to scan for annotated components.value()is an alias for (and mutually exclusive with) this attribute. UsebasePackageClasses()for a type-safe alternative to String-based package names.- Returns:
- the base package names
- Default:
- {}
-
basePackageClasses
Class<?>[] basePackageClassesDeprecated.Type-safe alternative tobasePackages()for specifying the packages to scan for annotated components. The package of each class specified will be scanned. Consider creating a special no-op marker class or interface in each package that serves no purpose other than being referenced by this attribute.- Returns:
- the base package classes
- Default:
- {}
-
storeFactoryBeanClass
Class<?> storeFactoryBeanClassDeprecated.Returns theFactoryBeanclass to be used for each repository instance. Defaults toFilesystemStoreFactoryBean.- Returns:
- content repository factory bean class
- Default:
- internal.org.springframework.content.fs.config.FilesystemStoreFactoryBean.class
-