com.liferay.portal.tools.deploy
Class PortletDeployer
java.lang.Object
com.liferay.portal.tools.deploy.BaseDeployer
com.liferay.portal.tools.deploy.PortletDeployer
- All Implemented Interfaces:
- AutoDeployer, Deployer
- Direct Known Subclasses:
- PortletAutoDeployer, PortletSandboxDeployListener
public class PortletDeployer
- extends BaseDeployer
Fields inherited from class com.liferay.portal.tools.deploy.BaseDeployer |
appServerType, auiTaglibDTD, baseDir, DEPLOY_TO_PREFIX, destDir, filePattern, jars, jbossPrefix, portletExtTaglibDTD, portletTaglibDTD, securityTaglibDTD, themeTaglibDTD, tomcatLibDir, uiTaglibDTD, unpackWar, utilTaglibDTD, wars |
Methods inherited from class com.liferay.portal.tools.deploy.BaseDeployer |
addExtJar, addRequiredJar, autoDeploy, copyDependencyXml, copyDependencyXml, copyDependencyXml, copyDtds, copyJars, copyPortalDependencies, copyProperties, copyTlds, copyTomcatContextXml, deploy, deployDirectory, deployDirectory, deployFile, deployFile, downloadJar, fixPortalDependencyJar, getDeploymentHandler, getDisplayName, getIgnoreFiltersContent, getInvokerFilterContent, getInvokerFilterContent, getPluginPackageLicensesXml, getPluginPackageLiferayVersionsXml, getPluginPackageProperties, getPluginPackageTagsXml, getPluginPackageXmlFilterMap, getServletContextIncludeFiltersContent, getSessionFiltersContent, getSpeedFiltersContent, isJEEDeploymentEnabled, mergeDirectory, postDeploy, postDeployGlassfish, postDeployJBoss, postDeployWebSphere, processPluginPackageProperties, readPluginPackage, rewriteFiles, secureWebXml, setAppServerType, setAuiTaglibDTD, setBaseDir, setDestDir, setFilePattern, setJars, setJbossPrefix, setPortletExtTaglibDTD, setPortletTaglibDTD, setSecurityTaglibDTD, setThemeTaglibDTD, setTomcatLibDir, setUiTaglibDTD, setUnpackWar, setUtilTaglibDTD, setWars, updateGeronimoWebXml, updateLiferayWebXml, updateWebXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSF_MYFACES
public static final String JSF_MYFACES
- See Also:
- Constant Field Values
JSF_STANDARD
public static final String JSF_STANDARD
- See Also:
- Constant Field Values
JSF_SUN
public static final String JSF_SUN
- See Also:
- Constant Field Values
LIFERAY_RENDER_KIT_FACTORY
public static final String LIFERAY_RENDER_KIT_FACTORY
- See Also:
- Constant Field Values
MYFACES_CONTEXT_FACTORY
public static final String MYFACES_CONTEXT_FACTORY
- See Also:
- Constant Field Values
PortletDeployer
public PortletDeployer()
PortletDeployer
public PortletDeployer(List<String> wars,
List<String> jars)
main
public static void main(String[] args)
checkArguments
public void checkArguments()
- Specified by:
checkArguments
in interface Deployer
- Overrides:
checkArguments
in class BaseDeployer
copyXmls
public void copyXmls(File srcFile,
String displayName,
PluginPackage pluginPackage)
throws Exception
- Specified by:
copyXmls
in interface Deployer
- Overrides:
copyXmls
in class BaseDeployer
- Throws:
Exception
getExtraContent
public String getExtraContent(double webXmlVersion,
File srcFile,
String displayName)
throws Exception
- Overrides:
getExtraContent
in class BaseDeployer
- Throws:
Exception
getExtraFiltersContent
public String getExtraFiltersContent(double webXmlVersion,
File srcFile)
throws Exception
- Overrides:
getExtraFiltersContent
in class BaseDeployer
- Throws:
Exception
getPluginType
public String getPluginType()
- Overrides:
getPluginType
in class BaseDeployer
getServletContent
public String getServletContent(File portletXML,
File webXML)
throws Exception
- Throws:
Exception
setupAlloy
public void setupAlloy(File srcFile,
File portletXML)
throws Exception
- Throws:
Exception
setupJSF
public void setupJSF(File facesXML,
File portletXML)
throws Exception
- Throws:
Exception
updateDeployDirectory
public void updateDeployDirectory(File srcFile)
throws Exception
- Overrides:
updateDeployDirectory
in class BaseDeployer
- Throws:
Exception
updatePortletXML
public void updatePortletXML(File portletXML)
throws Exception
- Throws:
Exception