@Configuration public class ApplicationTestConfig extends ApplicationConfig
Constructor and Description |
---|
ApplicationTestConfig() |
Modifier and Type | Method and Description |
---|---|
MarshallService |
applicationMarshallService() |
static org.springframework.beans.factory.config.CustomScopeConfigurer |
customScopeConfigurer() |
Environment |
environment(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Site site) |
org.springframework.mock.web.MockHttpServletResponse |
htpServletResponse() |
org.springframework.mock.web.MockHttpServletRequest |
httpServletRequest(javax.servlet.ServletContext context) |
MarshallService |
marshallService() |
org.springframework.mock.web.MockServletContext |
servletContext() |
conversionService, messageSource, request, selectionFactory
@Bean @Order(value=-2147483648) public static org.springframework.beans.factory.config.CustomScopeConfigurer customScopeConfigurer()
@Bean public org.springframework.mock.web.MockServletContext servletContext()
public Environment environment(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Site site)
environment
in class ApplicationConfig
@Bean @Scope(value="prototype") public org.springframework.mock.web.MockHttpServletRequest httpServletRequest(javax.servlet.ServletContext context)
@Bean @Scope(value="prototype") public org.springframework.mock.web.MockHttpServletResponse htpServletResponse()
@Bean public MarshallService applicationMarshallService() throws JAXBException
JAXBException
@Bean public MarshallService marshallService() throws JAXBException
JAXBException
Copyright © 2011–2023 aiticon GmbH. All rights reserved.