Liferay 6.1.2-ce-ga3

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:
AutoDeployListener
Direct Known Subclasses:
HookExplodedTomcatListener, LayoutTemplateExplodedTomcatListener, PortletExplodedTomcatListener, ThemeExplodedTomcatListener

public abstract class BaseExplodedTomcatListener
extends Object
implements AutoDeployListener


Constructor Summary
BaseExplodedTomcatListener()
           
 
Method Summary
 void copyContextFile(File file)
           
 int deploy(AutoDeploymentContext autoDeploymentContext)
           
protected abstract  int deploy(File file)
           
 File getDocBaseDir(File file, String checkXmlFile)
           
 boolean isMatchingFileExtension(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(File file)
                     throws AutoDeployException
Throws:
AutoDeployException

deploy

public int deploy(AutoDeploymentContext autoDeploymentContext)
           throws AutoDeployException
Specified by:
deploy in interface AutoDeployListener
Throws:
AutoDeployException

getDocBaseDir

public File getDocBaseDir(File file,
                          String checkXmlFile)
                   throws AutoDeployException
Throws:
AutoDeployException

isMatchingFileExtension

public boolean isMatchingFileExtension(File file)

deploy

protected abstract int deploy(File file)
                       throws AutoDeployException
Throws:
AutoDeployException

Liferay 6.1.2-ce-ga3