Class RequestComponentManager
java.lang.Object
com.atlassian.jira.com.rproxy.goskope.component.spring.web.RequestComponentManager
Manages request-scoped application components.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.context.annotation.AnnotationConfigApplicationContextregisterRequestScopedComponents(org.springframework.context.annotation.AnnotationConfigApplicationContext context) Returns a container that contains the 'request' level information.
-
Method Details
-
registerRequestScopedComponents
public static org.springframework.context.annotation.AnnotationConfigApplicationContext registerRequestScopedComponents(org.springframework.context.annotation.AnnotationConfigApplicationContext context) Returns a container that contains the 'request' level information. This container should only be used for the current request (i.e. destroy it after the request). Any attempt to use this container after the end of the request will result in indeterminate behaviour. Returned context is the context passed as argument, filled with request specific beans.- Parameters:
context- the context of the returned container- Returns:
- a container that contains any relevant request-scoped components.
- See Also:
-