use of org.springframework.beans.factory.config.PropertiesFactoryBean in project goci by EBISPOT.
the class SparqlConfigurator method mapper.
@Bean(name = "prefixProperties")
public PropertiesFactoryBean mapper() {
PropertiesFactoryBean bean = new PropertiesFactoryBean();
bean.setLocation(new ClassPathResource("prefix.properties"));
return bean;
}
use of org.springframework.beans.factory.config.PropertiesFactoryBean in project new-cloud by xie-summer.
the class QuartzConfigration method quartzProperties.
@Bean
public Properties quartzProperties() throws IOException {
PropertiesFactoryBean propertiesFactoryBean = new PropertiesFactoryBean();
propertiesFactoryBean.setLocation(new ClassPathResource(quartzConfig));
propertiesFactoryBean.afterPropertiesSet();
return propertiesFactoryBean.getObject();
}
use of org.springframework.beans.factory.config.PropertiesFactoryBean in project dq-easy-cloud by dq-open-cloud.
the class EcTaskSchedulerConfig method quartzProperties.
@Bean
public Properties quartzProperties() throws IOException {
PropertiesFactoryBean propertiesFactoryBean = new PropertiesFactoryBean();
propertiesFactoryBean.setLocation(new ClassPathResource("/quartz.properties"));
propertiesFactoryBean.afterPropertiesSet();
return propertiesFactoryBean.getObject();
}
Aggregations