|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ScopeType> org.jboss.seam.ScopeType
The available scopes (contexts).
Enum Constant Summary | |
---|---|
APPLICATION
The application context (Servlet context.) |
|
BUSINESS_PROCESS
The business process context. |
|
CONVERSATION
The conversation context. |
|
EVENT
The event (request) context. |
|
PAGE
The page context. |
|
SESSION
The session context. |
|
STATELESS
The stateless psuedo-context. |
|
UNSPECIFIED
Indicates that the scope is implied. |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ScopeType STATELESS
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
Method Detail |
---|
public static final 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 namepublic boolean isContextActive()
public Context getContext()
public String getPrefix()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |