List of usage examples for org.springframework.context.support PropertySourcesPlaceholderConfigurer PropertySourcesPlaceholderConfigurer
PropertySourcesPlaceholderConfigurer
From source file:net.lalotech.spring.mvc.config.PropertiesConfiguration.java
static @Bean public PropertySourcesPlaceholderConfigurer myPropertySourcesPlaceholderConfigurer() { PropertySourcesPlaceholderConfigurer p = new PropertySourcesPlaceholderConfigurer(); Resource[] resourceLocations = new Resource[] { new ClassPathResource("app.properties") }; p.setLocations(resourceLocations);//w ww.j a v a 2 s .c om return p; }
From source file:com.sg.domain.jpa.spring.test.TestJpaServicePropertiesContextConfiguration.java
@Bean public static PropertySourcesPlaceholderConfigurer placeHolderConfigurer() { PropertySourcesPlaceholderConfigurer configurer = new PropertySourcesPlaceholderConfigurer(); return configurer; }
From source file:com.greendot.db.jpa.configuration.PropertiesConfiguration.java
@Bean public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() { return new PropertySourcesPlaceholderConfigurer(); }
From source file:com.sg.sg_rest_api.integration.test.configuration.IntegrationTestContext.java
@Bean public static PropertySourcesPlaceholderConfigurer placeHolderConfigurer() { PropertySourcesPlaceholderConfigurer configurer = new PropertySourcesPlaceholderConfigurer(); return configurer; }
From source file:org.duracloud.account.config.PropertyConfig.java
@Bean public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() throws IOException { PropertySourcesPlaceholderConfigurer p = new PropertySourcesPlaceholderConfigurer(); return p;//from w w w . jav a2 s.c om }
From source file:com.allanditzel.dashboard.config.PropertyConfig.java
@Bean public static PropertySourcesPlaceholderConfigurer placeHolderConfigurer() { return new PropertySourcesPlaceholderConfigurer(); }
From source file:uk.ac.ebi.eva.pipeline.configuration.AnnotationConfiguration.java
@Bean private static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() { return new PropertySourcesPlaceholderConfigurer(); }
From source file:org.axiom_tools.data.BasicDataSource.java
@Bean public static PropertySourcesPlaceholderConfigurer propertyReplacer() { return new PropertySourcesPlaceholderConfigurer(); }
From source file:org.thingsplode.agent.AgentConfig.java
@Bean static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() { PropertySourcesPlaceholderConfigurer ppc = new PropertySourcesPlaceholderConfigurer(); return ppc;/* w w w .j av a 2 s. com*/ }
From source file:org.awesomeagile.PropertySupportConfig.java
@Bean public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() { PropertySourcesPlaceholderConfigurer c = new PropertySourcesPlaceholderConfigurer(); return c;//from www . j a v a 2 s. c o m }