info.magnolia.module.blossom.module
Class BlossomModuleSupport
java.lang.Object
info.magnolia.module.blossom.module.BlossomModuleSupport
public class BlossomModuleSupport
- extends Object
Intended to be used as a base class for Magnolia modules that use Blossom. Provides support for initializing
the root WebApplicationContext and DispatcherServlets. Initializing them like this makes them participate
properly at module install time. Servlets apart from BlossomDispatcherServlet
should be configured
in your module's definition file with their url mappings.
- Since:
- 1.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlossomModuleSupport
public BlossomModuleSupport()
initRootWebApplicationContext
public void initRootWebApplicationContext(String configLocation)
initRootWebApplicationContext
public void initRootWebApplicationContext(org.springframework.web.context.ContextLoader contextLoader)
closeRootWebApplicationContext
public void closeRootWebApplicationContext()
initBlossomDispatcherServlet
public void initBlossomDispatcherServlet(String servletName,
String configLocation)
initDispatcherServlet
public void initDispatcherServlet(String servletName,
String configLocation)
initDispatcherServlet
public void initDispatcherServlet(org.springframework.web.servlet.DispatcherServlet dispatcherServlet,
String servletName,
String configLocation)
destroyDispatcherServlets
public void destroyDispatcherServlets()
getDispatcherServlets
public List<org.springframework.web.servlet.DispatcherServlet> getDispatcherServlets()
getServletContext
public javax.servlet.ServletContext getServletContext()
Copyright © 2009-2012 Magnolia International Ltd.. All Rights Reserved.