|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LifecycleMode>
org.picocontainer.script.LifecycleMode
public enum LifecycleMode
Enumeration for lifecycle behaviors with the container builders.
| Enum Constant Summary | |
|---|---|
AUTO_LIFECYCLE
Uses standard lifecycle methods -- start is called when the container is started, and stop is called when the container is stopped and disposed. |
|
NO_LIFECYCLE
No start/stop methods are called when the containers are built/killed. |
|
| Method Summary | |
|---|---|
boolean |
isInvokeLifecycle()
Returns true if lifecycle methods should be called. |
static LifecycleMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LifecycleMode[] |
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 LifecycleMode AUTO_LIFECYCLE
public static final LifecycleMode NO_LIFECYCLE
| Method Detail |
|---|
public static LifecycleMode[] values()
for (LifecycleMode c : LifecycleMode.values()) System.out.println(c);
public static LifecycleMode 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 nullpublic boolean isInvokeLifecycle()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||