org.mortbay.jetty.plus.annotation
Class PojoContextListener

java.lang.Object
  extended by org.mortbay.jetty.plus.annotation.PojoContextListener
All Implemented Interfaces:
EventListener, ServletContextListener, PojoWrapper

public class PojoContextListener
extends Object
implements ServletContextListener, PojoWrapper


Constructor Summary
PojoContextListener(Object pojo)
           
 
Method Summary
 void contextDestroyed(ServletContextEvent event)
           
 void contextInitialized(ServletContextEvent event)
           
 Object getPojo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PojoContextListener

public PojoContextListener(Object pojo)
                    throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

getPojo

public Object getPojo()
Specified by:
getPojo in interface PojoWrapper

contextDestroyed

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

contextInitialized

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


Copyright © 1995-2008 Mort Bay Consulting. All Rights Reserved.