it.uniroma2.art.semanticturkey.configurations.STRequestContextConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of st-core-services Show documentation
Show all versions of st-core-services Show documentation
The set of core services bundled with the default Semantic Turkey XPI
package it.uniroma2.art.semanticturkey.configurations;
import it.uniroma2.art.semanticturkey.services.STServiceContext;
import it.uniroma2.art.semanticturkey.services.http.STServiceHTTPContext;
import org.springframework.context.annotation.Bean;
// this was one attempt at a Spring configuration for ST through Java code. We disabled it and started to work
// with XML
// @Configuration
public class STRequestContextConfiguration {
/* Maybe this bean definition should be moved to core framework somehow */
@Bean
public STServiceContext stservicecontext() {
return new STServiceHTTPContext();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy