org.apache.lens.server
Class LensApplicationListener

java.lang.Object
  extended by org.apache.lens.server.LensApplicationListener
All Implemented Interfaces:
org.glassfish.jersey.server.monitoring.ApplicationEventListener

public class LensApplicationListener
extends Object
implements org.glassfish.jersey.server.monitoring.ApplicationEventListener

The listener interface for receiving lensApplication events. The class that is interested in processing a lensApplication event implements this interface, and the object created with that class is registered with a component using the component's addLensApplicationListener method. When the lensApplication event occurs, that object's appropriate method is invoked.

See Also:
LensApplicationEvent

Field Summary
static org.apache.log4j.Logger LOG
          The Constant LOG.
 
Constructor Summary
LensApplicationListener()
           
 
Method Summary
 void onEvent(org.glassfish.jersey.server.monitoring.ApplicationEvent event)
           
 org.glassfish.jersey.server.monitoring.RequestEventListener onRequest(org.glassfish.jersey.server.monitoring.RequestEvent requestEvent)
          The req listener.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG
The Constant LOG.

Constructor Detail

LensApplicationListener

public LensApplicationListener()
Method Detail

onRequest

public org.glassfish.jersey.server.monitoring.RequestEventListener onRequest(org.glassfish.jersey.server.monitoring.RequestEvent requestEvent)
The req listener.

Specified by:
onRequest in interface org.glassfish.jersey.server.monitoring.ApplicationEventListener

onEvent

public void onEvent(org.glassfish.jersey.server.monitoring.ApplicationEvent event)
Specified by:
onEvent in interface org.glassfish.jersey.server.monitoring.ApplicationEventListener


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.