php.java.servlet
Class RequestListener

java.lang.Object
  extended by php.java.servlet.RequestListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletRequestListener

public class RequestListener
extends java.lang.Object
implements javax.servlet.ServletRequestListener

Register a PHP JSR 223 EngineFactory when the web context starts. Used when the web application WEB-INF/web.xml contains a listener attribute:

<listener>   <listener-class>php.java.servlet.ContextLoaderListener</listener-class> </listener> <listener>   <listener-class>php.java.servlet.RequestListener</listener-class> </listener>

See Also:
EngineFactory

Field Summary
static java.lang.String ROOT_ENGINES_COLLECTION_ATTRIBUTE
          The key used to store the engine list in the servlet request
 
Constructor Summary
RequestListener()
           
 
Method Summary
 void requestDestroyed(javax.servlet.ServletRequestEvent event)
          
 void requestInitialized(javax.servlet.ServletRequestEvent event)
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_ENGINES_COLLECTION_ATTRIBUTE

public static final java.lang.String ROOT_ENGINES_COLLECTION_ATTRIBUTE
The key used to store the engine list in the servlet request

Constructor Detail

RequestListener

public RequestListener()
Method Detail

requestDestroyed

public void requestDestroyed(javax.servlet.ServletRequestEvent event)

Specified by:
requestDestroyed in interface javax.servlet.ServletRequestListener

requestInitialized

public void requestInitialized(javax.servlet.ServletRequestEvent event)

Specified by:
requestInitialized in interface javax.servlet.ServletRequestListener