public enum BeanScope extends Enum<BeanScope>
Enum Constant and Description |
---|
APPLICATION |
CONVERSATION |
CUSTOM |
DEPENDENT |
REQUEST |
SESSION |
Modifier and Type | Method and Description |
---|---|
String |
getAnnotation() |
boolean |
isSerializable() |
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 DEPENDENT
public static final BeanScope APPLICATION
public static final BeanScope SESSION
public static final BeanScope CONVERSATION
public static final BeanScope REQUEST
public static final BeanScope CUSTOM
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 nullpublic String getAnnotation()
public boolean isSerializable()
Copyright © 2015 JBoss by Red Hat. All rights reserved.