Package org.dspace.app.rest
Class WebApplication
java.lang.Object
org.dspace.app.rest.WebApplication
Main configuration for the dspace web module.
- Author:
- Andrea Bollini (andrea.bollini at 4science.it), Tim Donohue, Luca Giamminonni (luca.giamminonni at 4science.it)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.servlet.FilterRegister the DSpaceAPIRequestLoggingFilter, a Filter that provides Mapped Diagnostic Context for the DSpace Server Webappprotected DSpaceContextListenerRegister the "DSpaceContextListener" so that it is loaded for this Application.protected org.springframework.hateoas.server.LinkRelationProviderprotected jakarta.servlet.FilterRegister the DSpaceRequestContextFilter, a Filter which checks for open Context objects *after* a request has been fully processed, and closes themprotected jakarta.servlet.FilterRegister the DSpaceWebappServletFilter, which initializes the DSpace RequestService / SessionServicevoidvoidvoidvoidvoidvoid
-
Constructor Details
-
WebApplication
public WebApplication()
-
-
Method Details
-
generateSitemap
- Throws:
IOExceptionSQLException
-
ldnExtractFromQueue
@Scheduled(cron="${ldn.queue.extractor.cron:-}") public void ldnExtractFromQueue() throws IOException, SQLException- Throws:
IOExceptionSQLException
-
ldnQueueTimeoutCheck
@Scheduled(cron="${ldn.queue.timeout.checker.cron:-}") public void ldnQueueTimeoutCheck() throws IOException, SQLException- Throws:
IOExceptionSQLException
-
solrDatabaseResync
- Throws:
Exception
-
sendGoogleAnalyticsEvents
-
dspaceContextListener
Register the "DSpaceContextListener" so that it is loaded for this Application.- Returns:
- DSpaceContextListener
-
dspaceWebappServletFilter
Register the DSpaceWebappServletFilter, which initializes the DSpace RequestService / SessionService- Returns:
- DSpaceWebappServletFilter
-
dspaceRequestContextFilter
Register the DSpaceRequestContextFilter, a Filter which checks for open Context objects *after* a request has been fully processed, and closes them- Returns:
- DSpaceRequestContextFilter
-
dspaceApiLoggingRequest
Register the DSpaceAPIRequestLoggingFilter, a Filter that provides Mapped Diagnostic Context for the DSpace Server Webapp- Returns:
- DSpaceRequestContextFilter
-
requestContextListener
-
dspaceLinkRelationProvider
@Bean protected org.springframework.hateoas.server.LinkRelationProvider dspaceLinkRelationProvider() -
webMvcConfigurer
-
setDefaultTimezone
@PostConstruct public void setDefaultTimezone()
-