Package de.dlr.proseo.ui.gui
Klasse GUIConfiguration
java.lang.Object
de.dlr.proseo.ui.gui.GUIConfiguration
- Alle implementierten Schnittstellen:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@ConfigurationProperties(prefix="proseo")
@EntityScan(basePackages="de.dlr.proseo.model")
public class GUIConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Configuration properties and beans related to the GUI (Graphical User Interface) of an application, used to configure various
aspects of the GUI, such as the base URIs for different services and components, timeout settings, and localization.
- Autor:
- David Mazo
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addInterceptors
(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) Adds the locale change interceptor to the interceptor registry.Gets the Order Manager base URI.Gets the Processor Manager base URI.Gets the Production Planner base URI.Gets the timeout for asynchronous requests in milliseconds.org.springframework.web.servlet.i18n.LocaleChangeInterceptor
Creates a locale change interceptor bean for handling language change.org.springframework.web.servlet.LocaleResolver
Creates a locale resolver bean for handling localization.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Konstruktordetails
-
GUIConfiguration
public GUIConfiguration()
-
-
Methodendetails
-
getTimeout
Gets the timeout for asynchronous requests in milliseconds.- Gibt zurück:
- the timeout in milliseconds
-
getProductionPlanner
Gets the Production Planner base URI.- Gibt zurück:
- the Production Planner URI
-
getOrderManager
Gets the Order Manager base URI.- Gibt zurück:
- the Order Manager URI
-
getProcessorManager
Gets the Processor Manager base URI.- Gibt zurück:
- the Processor Manager URI
-
localeResolver
@Bean public org.springframework.web.servlet.LocaleResolver localeResolver()Creates a locale resolver bean for handling localization.- Gibt zurück:
- the locale resolver bean
-
localChangeInterceptor
@Bean public org.springframework.web.servlet.i18n.LocaleChangeInterceptor localChangeInterceptor()Creates a locale change interceptor bean for handling language change.- Gibt zurück:
- the locale change interceptor bean
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) Adds the locale change interceptor to the interceptor registry.- Angegeben von:
addInterceptors
in Schnittstelleorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
- Parameter:
registry
- the interceptor registry
-