net.sf.xbus.bootstrap
Class ReceiverServiceServletListener

java.lang.Object
  extended by net.sf.xbus.bootstrap.ReceiverServiceServletListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class ReceiverServiceServletListener
extends java.lang.Object
implements javax.servlet.ServletContextListener

The ReceiverServiceServletListener receives notifications on startup and shutdown of the servlet container. Its task is to start and stop the ReceiverService.


Constructor Summary
ReceiverServiceServletListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent arg0)
          Stops the ReceiverService on shutdown of the servlet container.
 void contextInitialized(javax.servlet.ServletContextEvent arg0)
          Starts the ReceiverService on startup of the servlet container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReceiverServiceServletListener

public ReceiverServiceServletListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent arg0)
Starts the ReceiverService on startup of the servlet container.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent arg0)
Stops the ReceiverService on shutdown of the servlet container.

Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener