Package com.jk.services.server.listeners
Class JKApplicationEventListener
java.lang.Object
com.jk.services.server.listeners.JKApplicationEventListener
- All Implemented Interfaces:
org.glassfish.jersey.server.monitoring.ApplicationEventListener
public class JKApplicationEventListener
extends Object
implements org.glassfish.jersey.server.monitoring.ApplicationEventListener
This class is used for receiving
JKApplicationEventEvent
events.
Implementations of this interface are registered with a component using the component's method.
When a JKApplicationEvent event occurs, the appropriate method is invoked
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
onAppInitialized
(org.glassfish.jersey.server.monitoring.ApplicationEvent event) This method handles the application initialization event, collecting information about the resources and services.void
onEvent
(org.glassfish.jersey.server.monitoring.ApplicationEvent event) org.glassfish.jersey.server.monitoring.RequestEventListener
onRequest
(org.glassfish.jersey.server.monitoring.RequestEvent requestEvent)
-
Constructor Details
-
JKApplicationEventListener
public JKApplicationEventListener()
-
-
Method Details
-
onEvent
public void onEvent(org.glassfish.jersey.server.monitoring.ApplicationEvent event) - Specified by:
onEvent
in interfaceorg.glassfish.jersey.server.monitoring.ApplicationEventListener
-
onAppInitialized
protected void onAppInitialized(org.glassfish.jersey.server.monitoring.ApplicationEvent event) This method handles the application initialization event, collecting information about the resources and services.- Parameters:
event
- Specifies the application event.
-
onRequest
public org.glassfish.jersey.server.monitoring.RequestEventListener onRequest(org.glassfish.jersey.server.monitoring.RequestEvent requestEvent) - Specified by:
onRequest
in interfaceorg.glassfish.jersey.server.monitoring.ApplicationEventListener
-