Liferay 6.1.2-ce-ga3

com.liferay.portal.spring.util
Class SpringUtil

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

public class SpringUtil
extends Object

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.


Constructor Summary
SpringUtil()
           
 
Method Summary
static void loadContext()
           
static void loadContext(List<String> extraConfigLocations)
           
 
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()

loadContext

public static void loadContext(List<String> extraConfigLocations)

Liferay 6.1.2-ce-ga3