|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<UserProcedureEvent.Type>
org.glassfish.cafe.api.bean.UserProcedureEvent.Type
public static enum UserProcedureEvent.Type
| Enum Constant Summary | |
|---|---|
ABOUTTOEXPIRE
A locally generated event indicating that the validity period is about to expire and that extending the validity period by setting a new expiration time and invoking the update() method, is called for (if the application wants to keep the procedure alive). |
|
NOTIFICATION
A Presence specific event indicating the receipt of a Notification message with information. |
|
REFRESHED
The remote side has received new information for an existing user procedure and has accepted this information. |
|
REFRESHFAILED
The remote side has received new information for an existing user procedure but cannot accept this information. |
|
STARTED
The remote side has accepted the initial message of the user procedure. |
|
STARTFAILED
The remote side cannot start a user procedure with the received initial message. |
|
TERMINATED
The user procedure has been ended by the remote side. |
|
| Method Summary | |
|---|---|
static UserProcedureEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UserProcedureEvent.Type[] |
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 UserProcedureEvent.Type STARTED
public static final UserProcedureEvent.Type STARTFAILED
public static final UserProcedureEvent.Type REFRESHED
public static final UserProcedureEvent.Type REFRESHFAILED
public static final UserProcedureEvent.Type NOTIFICATION
public static final UserProcedureEvent.Type ABOUTTOEXPIRE
public static final UserProcedureEvent.Type TERMINATED
| Method Detail |
|---|
public static UserProcedureEvent.Type[] values()
for (UserProcedureEvent.Type c : UserProcedureEvent.Type.values()) System.out.println(c);
public static UserProcedureEvent.Type 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 | |||||||||