public static enum SessionListener.Scope extends java.lang.Enum<SessionListener.Scope>
Enum Constant and Description |
---|
CURRENT
Scope listener registration to current block scope
|
ENCLOSING_EXTERNAL
Scope listener registration to enclosing external block scope
|
GLOBAL
Scope listener registration to context's global scope
|
NEXT_EXTERNAL
Scope listener registration to next (lower) external block scope
|
NONE
Never deregister the session listener
|
Modifier and Type | Method and Description |
---|---|
static SessionListener.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionListener.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionListener.Scope NONE
public static final SessionListener.Scope GLOBAL
public static final SessionListener.Scope ENCLOSING_EXTERNAL
public static final SessionListener.Scope CURRENT
public static final SessionListener.Scope NEXT_EXTERNAL
public static SessionListener.Scope[] values()
for (SessionListener.Scope c : SessionListener.Scope.values()) System.out.println(c);
public static SessionListener.Scope valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null