| Enum Constant | Description |
|---|---|
APPLICATION |
|
PROTOTYPE |
|
REQUEST |
|
SESSION |
|
SINGLETON |
| Modifier and Type | Method | Description |
|---|---|---|
static ScopeType |
resolve(java.lang.String alias) |
Returns a
ScopeType with a value represented
by the specified String. |
java.lang.String |
toString() |
|
static ScopeType |
valueOf(java.lang.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 are declared.
|
public static final ScopeType SINGLETON
public static final ScopeType PROTOTYPE
public static final ScopeType REQUEST
public static final ScopeType SESSION
public static final ScopeType APPLICATION
public static ScopeType[] values()
for (ScopeType c : ScopeType.values()) System.out.println(c);
public static ScopeType 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<ScopeType>public static ScopeType resolve(java.lang.String alias)
ScopeType with a value represented
by the specified String.alias - the scope type as a StringScopeType, may be nullCopyright © 2008–2018 The Aspectran Project. All rights reserved.