public class SelfManager
extends java.lang.Object
pushSelf(handle)
to save the
latest handle on top of the stack. After the event has finish, the manager for that event must
call popSelf()
.Modifier and Type | Class and Description |
---|---|
private static class |
SelfManager.WorkArea
Container of context-local data.
|
Modifier and Type | Field and Description |
---|---|
private static ContextLocal<SelfManager.WorkArea> |
local
Context-local data variable.
|
Constructor and Description |
---|
SelfManager() |
Modifier and Type | Method and Description |
---|---|
static handle |
popSelf()
Discard the last SELF handle.
|
static void |
pushSelf(handle h)
Push the given handle as the new SELF handle.
|
static handle |
self()
Get the latest self handle.
|
private static ContextLocal<SelfManager.WorkArea> local
public static handle self()
public static handle popSelf()
public static void pushSelf(handle h)
h
- The new SELF handle reference.