public static enum EBean.Scope extends java.lang.Enum<EBean.Scope>
| Enum Constant and Description |
|---|
Default
A new instance of the bean is created each time it is needed
|
Singleton
A new instance of the bean is created the first time it is needed, it
is then retained and the same instance is always returned.
|
| Modifier and Type | Method and Description |
|---|---|
static EBean.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EBean.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EBean.Scope Default
public static final EBean.Scope Singleton
public static EBean.Scope[] values()
for (EBean.Scope c : EBean.Scope.values()) System.out.println(c);
public static EBean.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 © 2010-2014. All Rights Reserved.