public class PortletDeployer extends BaseDeployer
Modifier and Type | Field and Description |
---|---|
static String |
JSF_STANDARD |
appServerType, auiTaglibDTD, baseDir, DEPLOY_TO_PREFIX, destDir, filePattern, jars, jbossPrefix, portletExtTaglibDTD, portletTaglibDTD, securityTaglibDTD, tempDirPaths, themeTaglibDTD, tomcatLibDir, uiTaglibDTD, unpackWar, utilTaglibDTD, wars, wildflyPrefix
Constructor and Description |
---|
PortletDeployer() |
PortletDeployer(List<String> wars,
List<String> jars) |
Modifier and Type | Method and Description |
---|---|
void |
checkArguments() |
void |
copyXmls(File srcFile,
String displayName,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
String |
getExtraContent(double webXmlVersion,
File srcFile,
String displayName) |
String |
getExtraFiltersContent(double webXmlVersion,
File srcFile) |
String |
getPluginType() |
String |
getServletContent(File portletXML,
File webXML) |
static void |
main(String[] args) |
void |
updateDeployDirectory(File srcFile) |
void |
updatePortletXML(File portletXML) |
addExtJar, addRequiredJar, autoDeploy, cloneAutoDeployer, close, copyDependencyXml, copyDependencyXml, copyDependencyXml, copyJars, copyPortalDependencies, copyProperties, copyTlds, copyTomcatContextXml, deploy, deployDirectory, deployDirectory, deployFile, deployFile, fixPortalDependencyJar, getDeploymentHandler, getDisplayName, getDynamicResourceServletContent, getIgnoreFiltersContent, getInvokerFilterContent, getInvokerFilterContent, getPluginPackageLicensesXml, getPluginPackageLiferayVersionsXml, getPluginPackageProperties, getPluginPackageRequiredDeploymentContextsXml, getPluginPackageTagsXml, getPluginPackageXmlFilterMap, getServletContextIncludeFiltersContent, getSessionFiltersContent, getSpeedFiltersContent, isJEEDeploymentEnabled, mergeDirectory, postDeploy, postDeployGlassfish, postDeployJBoss, postDeployWildfly, processPluginPackageProperties, readPluginPackage, rewriteFiles, secureWebXml, setAppServerType, setAuiTaglibDTD, setBaseDir, setDestDir, setFilePattern, setJars, setJbossPrefix, setPortletExtTaglibDTD, setPortletTaglibDTD, setSecurityTaglibDTD, setThemeTaglibDTD, setTomcatLibDir, setUiTaglibDTD, setUnpackWar, setUtilTaglibDTD, setWars, setWildflyPrefix, updateLiferayWebXml, updateWebXml, wrapCDATA
public static final String JSF_STANDARD
public PortletDeployer()
public PortletDeployer(List<String> wars, List<String> jars)
public static void main(String[] args)
public void checkArguments()
checkArguments
in interface com.liferay.portal.kernel.deploy.Deployer
checkArguments
in class BaseDeployer
public void copyXmls(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws Exception
copyXmls
in interface com.liferay.portal.kernel.deploy.Deployer
copyXmls
in class BaseDeployer
Exception
public String getExtraContent(double webXmlVersion, File srcFile, String displayName) throws Exception
getExtraContent
in class BaseDeployer
Exception
public String getExtraFiltersContent(double webXmlVersion, File srcFile) throws Exception
getExtraFiltersContent
in class BaseDeployer
Exception
public String getPluginType()
getPluginType
in class BaseDeployer
public String getServletContent(File portletXML, File webXML) throws Exception
Exception
public void updateDeployDirectory(File srcFile) throws Exception
updateDeployDirectory
in class BaseDeployer
Exception
public void updatePortletXML(File portletXML) throws Exception
Exception