Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Classe utilizzata per la configurazione a livello applicativo
- *
- * Usare ImportResource per importare altre risorse
- *
- */
- @Configuration
- @PropertySource({
- "classpath:triage.properties"
- })
- @ImportResource(value = {
- "WEB-INF/report.xml",
- "WEB-INF/repository-jpa.xml",
- "WEB-INF/security.xml"
- })
- @ComponentScan(basePackages = {
- "com.astir.triage.persistence.repository.jpa",
- "com.astir.triage.report",
- "com.astir.triage.service",
- "com.astir.triage.service.impl",
- "com.astir.triage.service.security",
- })
- public class ApplicationConfiguration {
- @Bean
- public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() {
- return new PropertySourcesPlaceholderConfigurer();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement