org.jboss.seam
public enum ScopeType extends Enum<ScopeType>
Enum Constant and Description |
---|
APPLICATION
The application context (Servlet context.)
|
BUSINESS_PROCESS
The business process context.
|
CONVERSATION
The conversation context.
|
EVENT
The event (request) context.
|
METHOD
The method context.
|
PAGE
The page context.
|
SESSION
The session context.
|
STATELESS
The stateless pseudo-context.
|
UNSPECIFIED
Indicates that the scope is implied.
|
Modifier and Type | Method and Description |
---|---|
Context |
getContext() |
String |
getPrefix() |
boolean |
isContextActive() |
static ScopeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeType STATELESS
public static final ScopeType METHOD
public static final ScopeType EVENT
public static final ScopeType PAGE
public static final ScopeType CONVERSATION
public static final ScopeType SESSION
public static final ScopeType APPLICATION
public static final ScopeType BUSINESS_PROCESS
public static final ScopeType UNSPECIFIED
public static ScopeType[] values()
for (ScopeType c : ScopeType.values()) System.out.println(c);
public static ScopeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean isContextActive()
public Context getContext()
public String getPrefix()
Copyright © 2015 Seam Framework. All Rights Reserved.