com.liferay.portal.spring.util
Class SpringUtil

java.lang.Object
  extended by com.liferay.portal.spring.util.SpringUtil

public class SpringUtil
extends java.lang.Object

View Source

In most cases, SpringUtil.setContext() would have been called by com.liferay.portal.spring.context.PortalContextLoaderListener, configured in web.xml for the web application. However, there will be times in which SpringUtil will be called in a non-web application and, therefore, require manual instantiation of the application context.

Author:
Michael Young

Constructor Summary
SpringUtil()
           
 
Method Summary
static void loadContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringUtil

public SpringUtil()
Method Detail

loadContext

public static void loadContext()