Liferay 6.0.5

com.liferay.portal.tools.deploy
Class PortletDeployer

java.lang.Object
  extended by com.liferay.portal.tools.deploy.BaseDeployer
      extended by com.liferay.portal.tools.deploy.PortletDeployer
Direct Known Subclasses:
PortletAutoDeployer

public class PortletDeployer
extends BaseDeployer


Field Summary
static String JSF_MYFACES
           
static String JSF_STANDARD
           
static String JSF_SUN
           
static String LIFERAY_RENDER_KIT_FACTORY
           
static String MYFACES_CONTEXT_FACTORY
           
 
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
 
Constructor Summary
protected PortletDeployer()
           
protected PortletDeployer(List<String> wars, List<String> jars)
           
 
Method Summary
protected  void checkArguments()
           
protected  void copyXmls(File srcFile, String displayName, PluginPackage pluginPackage)
           
protected  String getExtraContent(double webXmlVersion, File srcFile, String displayName)
           
protected  String getServletContent(File portletXML, File webXML)
           
static void main(String[] args)
           
protected  void processPluginPackageProperties(File srcFile, String displayName, PluginPackage pluginPackage)
           
protected  void setupJSF(File facesXML, File portletXML)
           
protected  void updateDeployDirectory(File srcFile)
           
protected  void updatePortletXML(File portletXML)
           
 
Methods inherited from class com.liferay.portal.tools.deploy.BaseDeployer
addExtJar, addRequiredJar, copyDependencyXml, copyDependencyXml, copyDependencyXml, copyJars, copyPortalDependencies, copyProperties, copyTlds, deploy, deployDirectory, deployDirectory, deployFile, deployFile, downloadJar, getDeploymentHandler, getDisplayName, getPluginPackageLicensesXml, getPluginPackageLiferayVersionsXml, getPluginPackageProperties, getPluginPackageTagsXml, getSpeedFiltersContent, isJEEDeploymentEnabled, mergeDirectory, readPluginPackage, rewriteFiles, updateGeronimoWebXml, updateWebXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PortletDeployer

protected PortletDeployer()

PortletDeployer

protected PortletDeployer(List<String> wars,
                          List<String> jars)
Method Detail

main

public static void main(String[] args)

checkArguments

protected void checkArguments()
Overrides:
checkArguments in class BaseDeployer

copyXmls

protected void copyXmls(File srcFile,
                        String displayName,
                        PluginPackage pluginPackage)
                 throws Exception
Overrides:
copyXmls in class BaseDeployer
Throws:
Exception

getExtraContent

protected String getExtraContent(double webXmlVersion,
                                 File srcFile,
                                 String displayName)
                          throws Exception
Overrides:
getExtraContent in class BaseDeployer
Throws:
Exception

getServletContent

protected String getServletContent(File portletXML,
                                   File webXML)
                            throws Exception
Throws:
Exception

processPluginPackageProperties

protected void processPluginPackageProperties(File srcFile,
                                              String displayName,
                                              PluginPackage pluginPackage)
                                       throws Exception
Overrides:
processPluginPackageProperties in class BaseDeployer
Throws:
Exception

setupJSF

protected void setupJSF(File facesXML,
                        File portletXML)
                 throws Exception
Throws:
Exception

updateDeployDirectory

protected void updateDeployDirectory(File srcFile)
                              throws Exception
Overrides:
updateDeployDirectory in class BaseDeployer
Throws:
Exception

updatePortletXML

protected void updatePortletXML(File portletXML)
                         throws Exception
Throws:
Exception

Liferay 6.0.5