Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.servlet
Class ContextListenerDelayer

java.lang.Object
  extended by org.nuxeo.opensocial.servlet.ContextListenerDelayer
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

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

This class is just a wrapper to hold the initialization of Guice (et al) until we have received the "go ahead" from the Runtime and that everything is fully initialized.

Author:
Ian Smith

Constructor Summary
ContextListenerDelayer()
           
 
Method Summary
static void activate(org.osgi.framework.FrameworkEvent event)
           
 void contextDestroyed(javax.servlet.ServletContextEvent sce)
           
 void contextInitialized(javax.servlet.ServletContextEvent sce)
           
 void frameworkEvent(org.osgi.framework.FrameworkEvent event)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextListenerDelayer

public ContextListenerDelayer()
Method Detail

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent sce)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent sce)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

frameworkEvent

public void frameworkEvent(org.osgi.framework.FrameworkEvent event)

activate

public static void activate(org.osgi.framework.FrameworkEvent event)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.