|
eXo Kernel :: Container Multi-Threaded 2.5.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Mode>
org.exoplatform.container.Mode
public enum Mode
This enumeration defines all the possible mode supported by the kernel.
| Enum Constant Summary | |
|---|---|
AUTO_SOLVE_DEP_ISSUES
Use this mode when you want to see the kernel automatically fixes dependency issues such as unexpected call to getComponentInstanceOfType() and/or getComponentInstance() |
|
DISABLE_MT_ON_STARTUP_COMPLETE
Indicates whether or not the multi-threading should be disabled on startup complete. |
|
MULTI_THREADED
Use this mode when you want to delegate several threads to the kernel to create, initialize and start components. |
|
| Field Summary | |
|---|---|
static String |
AUTO_SOLVE_DEP_ISSUES_PARAM_NAME
The name of the system parameter to indicate that we want to enable the auto solve dependency issues mode of the kernel |
static String |
DISABLE_MT_ON_STARTUP_COMPLETE_PARAM_NAME
The name of the system parameter to indicate that we want to disable the multi-threaded mode once the TopExoContainer is fully started |
static String |
MULTI_THREADED_PARAM_NAME
The name of the system parameter to indicate that we want to enable the multi-threaded mode of the kernel |
| Method Summary | |
|---|---|
static Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, 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 Mode MULTI_THREADED
public static final Mode AUTO_SOLVE_DEP_ISSUES
public static final Mode DISABLE_MT_ON_STARTUP_COMPLETE
| Field Detail |
|---|
public static final String MULTI_THREADED_PARAM_NAME
public static final String AUTO_SOLVE_DEP_ISSUES_PARAM_NAME
public static final String DISABLE_MT_ON_STARTUP_COMPLETE_PARAM_NAME
TopExoContainer is fully started
| Method Detail |
|---|
public static Mode[] values()
for (Mode c : Mode.values()) System.out.println(c);
public static Mode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
eXo Kernel :: Container Multi-Threaded 2.5.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||