Liferay 7.0-ce-m3

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(List<String> configLocations)
           
 
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(List<String> configLocations)

Liferay 7.0-ce-m3