mondrian.web.taglib
Class Listener

java.lang.Object
  extended by mondrian.web.taglib.Listener
All Implemented Interfaces:
EventListener, ServletContextListener

public class Listener
extends Object
implements ServletContextListener

Listener creates and destroys a ApplResources at the appropriate times in the servlet's life-cycle.

NOTE: This class must not depend upon any non-standard packages (such as javax.transform) because it is loaded when Tomcat starts, not when the servlet is loaded. (This might be a bug in Tomcat 4.0.3, because it worked in 4.0.1. But anyway.)

Version:
$Id: //open/mondrian/src/main/mondrian/web/taglib/Listener.java#6 $

Nested Class Summary
(package private) static interface Listener.ApplicationContext
           
 
Field Summary
(package private)  Listener.ApplicationContext applicationContext
           
 
Constructor Summary
Listener()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent event)
           
 void contextInitialized(ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationContext

Listener.ApplicationContext applicationContext
Constructor Detail

Listener

public Listener()
Method Detail

contextInitialized

public void contextInitialized(ServletContextEvent event)
Specified by:
contextInitialized in interface ServletContextListener

contextDestroyed

public void contextDestroyed(ServletContextEvent event)
Specified by:
contextDestroyed in interface ServletContextListener

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads