com.atlassian.plugin.servlet.util
Class ServletContextServletModuleManagerAccessor
java.lang.Object
com.atlassian.plugin.servlet.util.ServletContextServletModuleManagerAccessor
public class ServletContextServletModuleManagerAccessor
- extends Object
Provides static access to a HostContainer instance. Requires initialisation before first use.
- Since:
- 2.2.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletContextServletModuleManagerAccessor
public ServletContextServletModuleManagerAccessor()
getServletModuleManager
public static ServletModuleManager getServletModuleManager(javax.servlet.ServletContext servletContext)
throws IllegalStateException
- Gets the servlet module manager in the servlet context
- Parameters:
servletContext - the servlet context to look up the servlet module manager in
- Returns:
- The servlet module manager instance or null if it is not there
- Throws:
IllegalStateException
setServletModuleManager
public static void setServletModuleManager(javax.servlet.ServletContext servletContext,
ServletModuleManager servletModuleManager)
- Sets the implementation of the servlet module manager
- Parameters:
servletContext - the servlet context to set the manager inservletModuleManager - the implementation to set
Copyright © 2014 Atlassian. All rights reserved.