com.liferay.portal.deploy
Class DeployManagerImpl

java.lang.Object
  extended by com.liferay.portal.deploy.DeployManagerImpl
All Implemented Interfaces:
com.liferay.portal.kernel.deploy.DeployManager

public class DeployManagerImpl
extends java.lang.Object
implements com.liferay.portal.kernel.deploy.DeployManager

Author:
Jonathan Potter, Brian Wing Shun Chan, Ryan Park

Constructor Summary
DeployManagerImpl()
           
 
Method Summary
 void deploy(java.io.File file)
           
 void deploy(java.io.File file, java.lang.String context)
           
 java.lang.String getDeployDir()
           
 java.lang.String getInstalledDir()
           
 com.liferay.portal.kernel.plugin.PluginPackage getInstalledPluginPackage(java.lang.String context)
           
 java.util.List<com.liferay.portal.kernel.plugin.PluginPackage> getInstalledPluginPackages()
           
 boolean isDeployed(java.lang.String context)
           
 void redeploy(java.lang.String context)
           
 void undeploy(java.lang.String context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployManagerImpl

public DeployManagerImpl()
Method Detail

deploy

public void deploy(java.io.File file)
            throws java.lang.Exception
Specified by:
deploy in interface com.liferay.portal.kernel.deploy.DeployManager
Throws:
java.lang.Exception

deploy

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

getDeployDir

public java.lang.String getDeployDir()
                              throws java.lang.Exception
Specified by:
getDeployDir in interface com.liferay.portal.kernel.deploy.DeployManager
Throws:
java.lang.Exception

getInstalledDir

public java.lang.String getInstalledDir()
                                 throws java.lang.Exception
Specified by:
getInstalledDir in interface com.liferay.portal.kernel.deploy.DeployManager
Throws:
java.lang.Exception

getInstalledPluginPackage

public com.liferay.portal.kernel.plugin.PluginPackage getInstalledPluginPackage(java.lang.String context)
Specified by:
getInstalledPluginPackage in interface com.liferay.portal.kernel.deploy.DeployManager

getInstalledPluginPackages

public java.util.List<com.liferay.portal.kernel.plugin.PluginPackage> getInstalledPluginPackages()
Specified by:
getInstalledPluginPackages in interface com.liferay.portal.kernel.deploy.DeployManager

isDeployed

public boolean isDeployed(java.lang.String context)
Specified by:
isDeployed in interface com.liferay.portal.kernel.deploy.DeployManager

redeploy

public void redeploy(java.lang.String context)
              throws java.lang.Exception
Specified by:
redeploy in interface com.liferay.portal.kernel.deploy.DeployManager
Throws:
java.lang.Exception

undeploy

public void undeploy(java.lang.String context)
              throws java.lang.Exception
Specified by:
undeploy in interface com.liferay.portal.kernel.deploy.DeployManager
Throws:
java.lang.Exception