|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ContextState>
org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.ContextState
public enum ContextState
State of an application context while being processed by DependencyWaiterApplicationContextExecutor
.
This enumeration holds the state of an application context at a certain time, beyond the official states such as
STARTED/STOPPED.
Enum Constant Summary | |
---|---|
DEPENDENCIES_RESOLVED
Application context has been started and the OSGi dependencies have been resolved. |
|
INITIALIZED
Application context has been initialized but not started (i.e. |
|
INTERRUPTED
Application context has been interrupted. |
|
RESOLVING_DEPENDENCIES
Application context has been started but the OSGi service dependencies haven't been yet resolved. |
|
STARTED
Application context has been fully initialized. |
|
STOPPED
Application context has been stopped. |
Method Summary | |
---|---|
boolean |
isDown()
Indicates whether the state is 'down' or not - that is a context which has been either closed or stopped. |
boolean |
isResolved()
|
boolean |
isUnresolved()
Indicates whether the state is unresolved or not. |
static ContextState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ContextState[] |
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 ContextState INITIALIZED
public static final ContextState RESOLVING_DEPENDENCIES
public static final ContextState DEPENDENCIES_RESOLVED
public static final ContextState STARTED
public static final ContextState INTERRUPTED
public static final ContextState STOPPED
INTERRUPTED
state should be used.
Method Detail |
---|
public static ContextState[] values()
for (ContextState c : ContextState.values()) System.out.println(c);
public static ContextState 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 isDown()
public boolean isUnresolved()
public boolean isResolved()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |