|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Scope>
org.apache.shale.tiger.managed.Scope
public enum Scope
Enumeration describing the valid values for the scope
attribute of a Bean annotation.
| Enum Constant Summary | |
|---|---|
APPLICATION
A created bean should be stored in application scope. |
|
NONE
A created bean should not be stored in any scope. |
|
REQUEST
A created bean should be stored in request scope. |
|
SESSION
A created bean should be stored in session scope. |
|
| Method Summary | |
|---|---|
static Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Scope[] |
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 Scope NONE
A created bean should not be stored in any scope.
public static final Scope REQUEST
A created bean should be stored in request scope.
public static final Scope SESSION
A created bean should be stored in session scope.
public static final Scope APPLICATION
A created bean should be stored in application scope.
| Method Detail |
|---|
public static final Scope[] values()
for(Scope c : Scope.values())
System.out.println(c);
public static Scope valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||