Enum Class ApplicationEvent.Type
- All Implemented Interfaces:
- Enclosing interface:
The type of the event that identifies on which lifecycle change the event is triggered.
Nested Class Summary
Enum Constant SummaryEnum ConstantDescriptionApplication has been destroyed (stopped).Initialization of the application has finished, server is started and application is ready to handle requests now.Initialization of the application has started.The application reload is finished.
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
INITIALIZATION_STARTpublic static final ApplicationEvent.Type INITIALIZATION_STARTInitialization of the application has started. In this point no all the event properties are initialized yet.
INITIALIZATION_APP_FINISHEDpublic static final ApplicationEvent.Type INITIALIZATION_APP_FINISHEDInitialization of
jersey applicationis finished but the server might not be started and ready yet to serve requests (this will be indicated by the
INITIALIZATION_FINISHEDevent). This event indicates only that the environment is ready (all providers are registered, application is configured, etc.).
INITIALIZATION_FINISHEDpublic static final ApplicationEvent.Type INITIALIZATION_FINISHEDInitialization of the application has finished, server is started and application is ready to handle requests now.
DESTROY_FINISHEDpublic static final ApplicationEvent.Type DESTROY_FINISHEDApplication has been destroyed (stopped). In this point the application cannot process any new requests.
RELOAD_FINISHEDpublic static final ApplicationEvent.Type RELOAD_FINISHEDThe application reload is finished. The reload can be invoked by
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.
valuespublic static ApplicationEvent.Type values()Returns an array containing the constants of this enum class, in the order they are declared.
- an array containing the constants of this enum class, in the order they are declared
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)