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