org.apache.lucene.gdata.server.registry
Class GDataRequestListener

java.lang.Object
  extended by org.apache.lucene.gdata.server.registry.GDataRequestListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletRequestListener, ScopeVisitable

public class GDataRequestListener
extends Object
implements javax.servlet.ServletRequestListener, ScopeVisitable

This ServletRequestListener is used by the registry to notify registered ScopeVisitor implementations when a request is initialized e.g destroyed.

Author:
Simon Willnauer
See Also:
ScopeVisitable, ServletRequestListener

Constructor Summary
GDataRequestListener()
           
 
Method Summary
 void accept(ScopeVisitor visitor)
           
 void requestDestroyed(javax.servlet.ServletRequestEvent arg0)
           
 void requestInitialized(javax.servlet.ServletRequestEvent arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GDataRequestListener

public GDataRequestListener()
                     throws RegistryException
Throws:
RegistryException
Method Detail

requestDestroyed

public void requestDestroyed(javax.servlet.ServletRequestEvent arg0)
Specified by:
requestDestroyed in interface javax.servlet.ServletRequestListener
See Also:
ServletRequestListener.requestDestroyed(javax.servlet.ServletRequestEvent)

requestInitialized

public void requestInitialized(javax.servlet.ServletRequestEvent arg0)
Specified by:
requestInitialized in interface javax.servlet.ServletRequestListener
See Also:
ServletRequestListener.requestInitialized(javax.servlet.ServletRequestEvent)

accept

public void accept(ScopeVisitor visitor)
Specified by:
accept in interface ScopeVisitable
Parameters:
visitor - - the visitor to accept
See Also:
ScopeVisitable.accept(org.apache.lucene.gdata.server.registry.ScopeVisitor)


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.