com.liferay.portal.deploy.auto.exploded.tomcat
Class BaseExplodedTomcatListener

java.lang.Object
  extended by com.liferay.portal.deploy.auto.exploded.tomcat.BaseExplodedTomcatListener
All Implemented Interfaces:
com.liferay.portal.kernel.deploy.auto.AutoDeployListener
Direct Known Subclasses:
HookExplodedTomcatListener, LayoutTemplateExplodedTomcatListener, PortletExplodedTomcatListener, ThemeExplodedTomcatListener

public abstract class BaseExplodedTomcatListener
extends java.lang.Object
implements com.liferay.portal.kernel.deploy.auto.AutoDeployListener

Author:
Olaf Fricke, Brian Wing Shun Chan

Constructor Summary
BaseExplodedTomcatListener()
           
 
Method Summary
 void copyContextFile(java.io.File file)
           
protected abstract  void deploy(java.io.File file)
           
 void deploy(java.io.File file, java.lang.String context)
           
 java.io.File getDocBaseDir(java.io.File file, java.lang.String checkXmlFile)
           
 boolean isMatchingFileExtension(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseExplodedTomcatListener

public BaseExplodedTomcatListener()
Method Detail

copyContextFile

public void copyContextFile(java.io.File file)
                     throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
Throws:
com.liferay.portal.kernel.deploy.auto.AutoDeployException

deploy

public void deploy(java.io.File file,
                   java.lang.String context)
            throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
Specified by:
deploy in interface com.liferay.portal.kernel.deploy.auto.AutoDeployListener
Throws:
com.liferay.portal.kernel.deploy.auto.AutoDeployException

getDocBaseDir

public java.io.File getDocBaseDir(java.io.File file,
                                  java.lang.String checkXmlFile)
                           throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
Throws:
com.liferay.portal.kernel.deploy.auto.AutoDeployException

isMatchingFileExtension

public boolean isMatchingFileExtension(java.io.File file)

deploy

protected abstract void deploy(java.io.File file)
                        throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
Throws:
com.liferay.portal.kernel.deploy.auto.AutoDeployException