public final class CdiRequestContext extends Object implements RequestContext
Modifier and Type | Method and Description |
---|---|
RequestContext |
getReference()
Get a "new" reference of the scope instance.
|
void |
release()
Release a single reference to the current request scope instance.
|
String |
toString() |
public RequestContext getReference()
release()
method is explicitly
called (once per each getReference()
method call).getReference
in interface RequestContext
public void release()
Once all instance references are released, the instance will be recycled.
release
in interface RequestContext
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.