Package com.liferay.portal.deploy.auto
Class PortletAutoDeployer
Object
com.liferay.portal.tools.deploy.BaseAutoDeployer
com.liferay.portal.deploy.auto.PortletAutoDeployer
- All Implemented Interfaces:
com.liferay.portal.kernel.deploy.auto.AutoDeployer
,Closeable
,AutoCloseable
- Direct Known Subclasses:
MVCPortletAutoDeployer
public class PortletAutoDeployer
extends BaseAutoDeployer
implements com.liferay.portal.kernel.deploy.auto.AutoDeployer
- Author:
- Ivica Cardic, Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portal.tools.deploy.BaseAutoDeployer
auiTaglibDTD, DEPLOY_TO_PREFIX, portletExtTaglibDTD, portletTaglibDTD, securityTaglibDTD, tempDirPaths, themeTaglibDTD, uiTaglibDTD, utilTaglibDTD
Fields inherited from interface com.liferay.portal.kernel.deploy.auto.AutoDeployer
CODE_DEFAULT, CODE_NOT_APPLICABLE, CODE_SKIP_NEWER_VERSION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyXmls
(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) getExtraContent
(double webXmlVersion, File srcFile, String displayName) getServletContent
(File portletXML, File webXML) void
updateDeployDirectory
(File srcFile) void
updatePortletXML
(File portletXML) Methods inherited from class com.liferay.portal.tools.deploy.BaseAutoDeployer
autoDeploy, close, copyDependencyXml, copyDependencyXml, copyDependencyXml, deployDirectory, getIgnoreFiltersContent, getPluginType, processPluginPackageProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.deploy.auto.AutoDeployer
autoDeploy, close, copyDependencyXml, copyDependencyXml, copyDependencyXml, processPluginPackageProperties
-
Constructor Details
-
PortletAutoDeployer
public PortletAutoDeployer()
-
-
Method Details
-
copyXmls
public void copyXmls(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws Exception - Specified by:
copyXmls
in interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer
- Overrides:
copyXmls
in classBaseAutoDeployer
- Throws:
Exception
-
getExtraContent
public String getExtraContent(double webXmlVersion, File srcFile, String displayName) throws Exception - Overrides:
getExtraContent
in classBaseAutoDeployer
- Throws:
Exception
-
getServletContent
- Throws:
Exception
-
updateDeployDirectory
- Overrides:
updateDeployDirectory
in classBaseAutoDeployer
- Throws:
Exception
-
updatePortletXML
- Throws:
Exception
-