public enum BeanScope extends Enum<BeanScope>
Enum Constant and Description |
---|
Application |
Request |
Session |
View |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static BeanScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanScope Application
public static final BeanScope Session
public static final BeanScope View
public static final BeanScope Request
public static BeanScope[] values()
for (BeanScope c : BeanScope.values()) System.out.println(c);
public static BeanScope 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 nullCopyright © 2008–2023 Apache Software Foundation. All rights reserved.