|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BeanMode>
com.softwareag.centrasite.appl.framework.persistence.BeanMode
public enum BeanMode
This enumeration represents the supported bean modes. The application may
specify the required bean mode using the Configuration
object.
Configuration
Enum Constant Summary | |
---|---|
BACKED
This BeanMode is used when "backed" beans are required. |
|
SIMPLE
Deprecated. Use BACKED . |
Method Summary | |
---|---|
static BeanMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BeanMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BeanMode SIMPLE
BACKED
.BeanMode
is used when "simple" beans are required. These
are beans that contain the values itself and are not backed by a
RegistryObject
.
public static final BeanMode BACKED
BeanMode
is used when "backed" beans are required.
These are beans that contain reference to the corresponding
RegistryObject
and update its state when their state
changes. This has several advantages like locking, lazy loading etc.
Method Detail |
---|
public static BeanMode[] values()
for (BeanMode c : BeanMode.values()) System.out.println(c);
public static BeanMode 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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |