List of usage examples for com.liferay.portal.kernel.util ServerDetector WEBSPHERE_ID
String WEBSPHERE_ID
To view the source code for com.liferay.portal.kernel.util ServerDetector WEBSPHERE_ID.
Click Source Link
From source file:org.mimacom.commons.liferay.adapter512.LiferayToolsImpl.java
License:Apache License
static void addExtraContent(String appServerType, StringBuilder content) { if (ServerDetector.WEBSPHERE_ID.equals(appServerType)) { content.append("<context-param>"); content.append("<param-name>com.ibm.websphere.portletcontainer.PortletDeploymentEnabled</param-name>"); content.append("<param-value>false</param-value>"); content.append("</context-param>"); }// w w w . j a va 2 s . c om }