|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Status> org.apache.tapestry5.ioc.services.Status
public enum Status
Used in ServiceActivity
to identify the state of the service in terms of its overall lifecycle.
Enum Constant Summary | |
---|---|
BUILTIN
A builtin service that exists before the Registry is constructed. |
|
DEFINED
The service is defined in a module, but has not yet been referenced. |
|
REAL
A service implementation for the service has been created. |
|
VIRTUAL
A proxy has been created for the service, but no methods of the proxy have been invoked. |
Method Summary | |
---|---|
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Status[] |
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 Status BUILTIN
Registry
is constructed.
public static final Status DEFINED
public static final Status VIRTUAL
public static final Status REAL
Method Detail |
---|
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |