Interface RequestContext
- All Known Implementing Classes:
 CdiRequestContext,Hk2RequestScope.Instance
public interface RequestContext
Wrapper for externally provided request context data.
- Author:
 - Petr Bouda
 
- 
Method Summary
Modifier and TypeMethodDescriptionGet a "new" reference of the scope instance.voidrelease()Release a single reference to the current request scope instance. 
- 
Method Details
- 
getReference
RequestContext getReference()Get a "new" reference of the scope instance.RequestContextimplementation is able to track referenced instances and then provide any additional logic during the releasing.- Returns:
 - referenced scope instance.
 
 - 
release
void release()Release a single reference to the current request scope instance. Once all instance references are released, the instance will be recycled. 
 -