Package org.dspace.app.configuration
Class RDFWebConfig
java.lang.Object
org.dspace.app.configuration.RDFWebConfig
RDF webapp configuration. Replaces the old web.xml
This @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 -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.web.servlet.ServletRegistrationBeanorg.springframework.boot.web.servlet.ServletRegistrationBean
-
Constructor Details
-
RDFWebConfig
public RDFWebConfig()
-
-
Method Details
-
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()
-