Example usage for com.liferay.portal.kernel.portlet PortletClassLoaderUtil setServletContextName

List of usage examples for com.liferay.portal.kernel.portlet PortletClassLoaderUtil setServletContextName

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.portlet PortletClassLoaderUtil setServletContextName.

Prototype

public static void setServletContextName(String servletContextName) 

Source Link

Usage

From source file:com.liferay.sync.model.SyncDLObjectUpdateTest.java

License:Open Source License

@Before
public void setUp() throws Exception {
    ConfigurationFactoryUtil.setConfigurationFactory(new ConfigurationFactoryImpl());

    JSONFactoryUtil jsonFactoryUtil = new JSONFactoryUtil();

    jsonFactoryUtil.setJSONFactory(new JSONFactoryImpl());

    PortletClassLoaderUtil.setServletContextName("sync-web");
}