Package org.appng.testsupport.config
Class ApplicationTestConfig
- java.lang.Object
-
- org.appng.api.config.ApplicationConfig
-
- org.appng.testsupport.config.ApplicationTestConfig
-
@Configuration public class ApplicationTestConfig extends ApplicationConfig
-
-
Constructor Summary
Constructors Constructor Description ApplicationTestConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MarshallService
applicationMarshallService()
static org.springframework.beans.factory.config.CustomScopeConfigurer
customScopeConfigurer()
org.springframework.mock.web.MockHttpServletResponse
htpServletResponse()
org.springframework.mock.web.MockHttpServletRequest
httpServletRequest(javax.servlet.ServletContext context)
MarshallService
marshallService()
org.springframework.mock.web.MockServletContext
servletContext()
-
Methods inherited from class org.appng.api.config.ApplicationConfig
conversionService, environment, messageSource, request, selectionFactory
-
-
-
-
Method Detail
-
customScopeConfigurer
@Bean @Order(-2147483648) public static org.springframework.beans.factory.config.CustomScopeConfigurer customScopeConfigurer()
-
servletContext
@Bean public org.springframework.mock.web.MockServletContext servletContext()
-
httpServletRequest
@Bean @Scope("prototype") public org.springframework.mock.web.MockHttpServletRequest httpServletRequest(javax.servlet.ServletContext context)
-
htpServletResponse
@Bean @Scope("prototype") public org.springframework.mock.web.MockHttpServletResponse htpServletResponse()
-
applicationMarshallService
@Bean public MarshallService applicationMarshallService() throws JAXBException
- Throws:
JAXBException
-
marshallService
@Bean public MarshallService marshallService() throws JAXBException
- Throws:
JAXBException
-
-