org.crsh.plugin
Class WebPluginLifeCycle
java.lang.Object
org.crsh.plugin.PluginLifeCycle
org.crsh.plugin.WebPluginLifeCycle
public class WebPluginLifeCycle
- extends PluginLifeCycle
- Version:
- $Revision$
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lock
private static final Object lock
- .
contextMap
private static final Map<String,PluginContext> contextMap
- .
registered
private boolean registered
- .
WebPluginLifeCycle
public WebPluginLifeCycle()
getPluginContext
public static PluginContext getPluginContext(ServletContext sc)
throws NullPointerException
- Returns a plugin context associated with the servlet context or null if such context does not exist.
- Parameters:
sc
- the servlet context
- Returns:
- the associated plugin context
- Throws:
NullPointerException
- if the servlet context argument is null
contextInitialized
public void contextInitialized(ServletContextEvent sce)
contextDestroyed
public void contextDestroyed(ServletContextEvent sce)
Copyright © 2012 eXo Platform SAS. All Rights Reserved.