com.liferay.portal.spring.context
Class PortletContextLoader

java.lang.Object
  extended by org.springframework.web.context.ContextLoader
      extended by com.liferay.portal.spring.context.PortletContextLoader

public class PortletContextLoader
extends org.springframework.web.context.ContextLoader

Author:
Brian Wing Shun Chan
See Also:
PortletApplicationContext, PortletContextLoaderListener

Field Summary
static java.lang.String PORTAL_CONFIG_LOCATION_PARAM
           
 
Fields inherited from class org.springframework.web.context.ContextLoader
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, CONTEXT_ID_PARAM, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM
 
Constructor Summary
PortletContextLoader()
           
 
Method Summary
protected  void customizeContext(javax.servlet.ServletContext servletContext, org.springframework.web.context.ConfigurableWebApplicationContext applicationContext)
           
protected  java.lang.Class<?> determineContextClass(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, createWebApplicationContext, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORTAL_CONFIG_LOCATION_PARAM

public static final java.lang.String PORTAL_CONFIG_LOCATION_PARAM
See Also:
Constant Field Values
Constructor Detail

PortletContextLoader

public PortletContextLoader()
Method Detail

customizeContext

protected void customizeContext(javax.servlet.ServletContext servletContext,
                                org.springframework.web.context.ConfigurableWebApplicationContext applicationContext)
Overrides:
customizeContext in class org.springframework.web.context.ContextLoader

determineContextClass

protected java.lang.Class<?> determineContextClass(javax.servlet.ServletContext servletContext)
Overrides:
determineContextClass in class org.springframework.web.context.ContextLoader