public abstract class EverrestExoContextListener extends Object implements javax.servlet.ServletContextListener
getContainer(ServletContext) returns instance of ExoContainer (not null) then it used for lookup JAX-RS
components (instances of classes annotated with Path, Provider and Filter).| Modifier and Type | Class and Description |
|---|---|
static class |
EverrestExoContextListener.DefaultListener
Default EverrestExoContextListener implementation.
|
static class |
EverrestExoContextListener.StandaloneContainerStarter
Implementation of EverrestExoContextListener which get path to StandaloneContainer configuration from
context-param everrest.exoplatform.standalone.config.
|
| Constructor and Description |
|---|
EverrestExoContextListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
protected abstract org.exoplatform.container.ExoContainer |
getContainer(javax.servlet.ServletContext servletContext)
Get ExoContainer instance.
|
protected FileCollectorDestroyer |
makeFileCollectorDestroyer() |
public final void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerprotected abstract org.exoplatform.container.ExoContainer getContainer(javax.servlet.ServletContext servletContext)
null.servletContext - servlet contextnullpublic void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerprotected FileCollectorDestroyer makeFileCollectorDestroyer()
Copyright © 2015. All rights reserved.