Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Java by Me ( 11 years ago )
@PropertySource("classpath:/MonitorProperties/beanFactory.properties")
@Configuration
public class MyBeanFactory {
@Value("#{publicProjectPropertyResourceFile}")
private String publicProjectPropertyResourceFile;
@Value("${dependencyResourceFileLocation}")
private String dependencyResourceFileLocation;
@Bean
public ResponseBuilder responseBuilder() {
return new ResponseBuilder(publicProjectPropertyResourceFile, dependencyResourceFileLocation);
}
}
Revise this Paste