com.liferay.portal.spring.util
Class SpringUtil
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringUtil
public SpringUtil()
loadContext
public static void loadContext()
loadContext
public static void loadContext(List<String> extraConfigLocations)