@ComponentScan @Configuration @Retention(value=RUNTIME) @Target(value=TYPE) public @interface BennuSpringModule
ComponentScan and baseNames for ReloadableResourceBundleMessageSource| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
basePackages
The base packages within this module for component scanning.
|
String[] |
bundles
The resource bundles relative to "/WEB-INF/resources/" in this module.
|
public abstract String[] basePackages
public abstract String[] bundles
@BennuSpringResource(bundles="MyModuleResources")It will search for the following files:
BennuSpringConfiguration.messageSource(org.springframework.context.ApplicationContext)Copyright © 2018 FenixEdu. All rights reserved.