public static enum ManagedBeanFactory.Scope extends java.lang.Enum<ManagedBeanFactory.Scope>
Enum Constant and Description |
---|
APPLICATION |
NONE |
REQUEST |
SESSION |
Modifier and Type | Method and Description |
---|---|
static ManagedBeanFactory.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ManagedBeanFactory.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagedBeanFactory.Scope NONE
public static final ManagedBeanFactory.Scope REQUEST
public static final ManagedBeanFactory.Scope SESSION
public static final ManagedBeanFactory.Scope APPLICATION
public static ManagedBeanFactory.Scope[] values()
for (ManagedBeanFactory.Scope c : ManagedBeanFactory.Scope.values()) System.out.println(c);
public static ManagedBeanFactory.Scope valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.