|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ApplicationEvent.Type>
org.glassfish.jersey.server.monitoring.ApplicationEvent.Type
public static enum ApplicationEvent.Type
The type of the event that identifies on which lifecycle change the event is triggered.
| Enum Constant Summary | |
|---|---|
DESTROY_FINISHED
Application has been destroyed (stopped). |
|
INITIALIZATION_APP_FINISHED
Initialization of jersey application is
finished but the server might not be started and ready yet to serve requests (this will be
indicated by the INITIALIZATION_FINISHED event). |
|
INITIALIZATION_FINISHED
Initialization of the application has finished, server is started and application is ready to handle requests now. |
|
INITIALIZATION_START
Initialization of the application has started. |
|
RELOAD_FINISHED
The application reload is finished. |
|
| Method Summary | |
|---|---|
static ApplicationEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ApplicationEvent.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 ApplicationEvent.Type INITIALIZATION_START
public static final ApplicationEvent.Type INITIALIZATION_APP_FINISHED
jersey application is
finished but the server might not be started and ready yet to serve requests (this will be
indicated by the INITIALIZATION_FINISHED event). This event indicates only that the
environment is ready (all providers are registered, application is configured, etc.).
public static final ApplicationEvent.Type INITIALIZATION_FINISHED
public static final ApplicationEvent.Type DESTROY_FINISHED
public static final ApplicationEvent.Type RELOAD_FINISHED
Container.reload() method. When this event is triggered
the reload is completely finished, which means that the new application is initialized (appropriate
events are called) and new reloaded application is ready to server requests.
| Method Detail |
|---|
public static ApplicationEvent.Type[] values()
for (ApplicationEvent.Type c : ApplicationEvent.Type.values()) System.out.println(c);
public static ApplicationEvent.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 | |||||||||