Welcome, guest! Login / Register - Why register?
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 Plain Text by hi ( 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);
    }
trollolololol
}

 

Revise this Paste

Parent: 79162
Your Name: Code Language: