Package org.glassfish.jersey.weld.se
Class WeldRequestScope
java.lang.Object
org.glassfish.jersey.weld.se.WeldRequestScope
- All Implemented Interfaces:
AutoCloseable,ExternalRequestScope<Map<String,Object>>
@ApplicationScoped
public class WeldRequestScope
extends Object
implements ExternalRequestScope<Map<String,Object>>
Weld specific request scope to align CDI request context with Jersey.
- Author:
- Jakub Podlesak
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()open(InjectionManager injectionManager) voidresume(ExternalRequestContext<Map<String, Object>> ctx, InjectionManager injectionManager) voidsuspend(ExternalRequestContext<Map<String, Object>> ctx, InjectionManager injectionManager)
-
Field Details
-
actualInjectorManager
-
-
Constructor Details
-
WeldRequestScope
public WeldRequestScope()
-
-
Method Details
-
open
- Specified by:
openin interfaceExternalRequestScope<Map<String,Object>>
-
resume
public void resume(ExternalRequestContext<Map<String, Object>> ctx, InjectionManager injectionManager) - Specified by:
resumein interfaceExternalRequestScope<Map<String,Object>>
-
suspend
public void suspend(ExternalRequestContext<Map<String, Object>> ctx, InjectionManager injectionManager) - Specified by:
suspendin interfaceExternalRequestScope<Map<String,Object>>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceExternalRequestScope<Map<String,Object>>
-