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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JKApplicationEventListener

      public JKApplicationEventListener()
  • Method Details

    • onEvent

      public void onEvent(org.glassfish.jersey.server.monitoring.ApplicationEvent event)
      Specified by:
      onEvent in interface org.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 interface org.glassfish.jersey.server.monitoring.ApplicationEventListener