Package org.dspace.app.configuration
Class RDFWebConfig
- java.lang.Object
-
- org.dspace.app.configuration.RDFWebConfig
-
@Configuration public class RDFWebConfig extends Object
RDF webapp configuration. Replaces the old web.xmlThis @Configuration class is automatically discovered by Spring via a @ComponentScan.
All RDF web configurations (beans) can be enabled or disabled by setting "rdf.enabled" to true or false, respectively (in your DSpace configuration). Default is "false".
All @Value annotated configurations below can also be overridden in your DSpace configuration.
- Author:
- Tim Donohue
-
-
Constructor Summary
Constructors Constructor Description RDFWebConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.web.servlet.ServletRegistrationBeanrdfLocalURIRedirectionBean()org.springframework.boot.web.servlet.ServletRegistrationBeanrdfSerializationBean()
-
-
-
Method Detail
-
rdfSerializationBean
@Bean @ConditionalOnProperty("rdf.enabled") public org.springframework.boot.web.servlet.ServletRegistrationBean rdfSerializationBean()
-
rdfLocalURIRedirectionBean
@Bean @ConditionalOnProperty("rdf.enabled") public org.springframework.boot.web.servlet.ServletRegistrationBean rdfLocalURIRedirectionBean()
-
-