com.liferay.portal.kernel.deploy
Class DeployManagerUtil

java.lang.Object
  extended by com.liferay.portal.kernel.deploy.DeployManagerUtil

public class DeployManagerUtil
extends java.lang.Object

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

Constructor Summary
DeployManagerUtil()
           
 
Method Summary
static void deploy(AutoDeploymentContext autoDeploymentContext)
           
static java.lang.String getDeployDir()
           
static DeployManager getDeployManager()
           
static java.lang.String getInstalledDir()
           
static PluginPackage getInstalledPluginPackage(java.lang.String context)
           
static java.util.List<PluginPackage> getInstalledPluginPackages()
           
static boolean isDeployed(java.lang.String context)
           
static PluginPackage readPluginPackageProperties(java.lang.String displayName, java.util.Properties properties)
           
static PluginPackage readPluginPackageXml(java.lang.String xml)
           
static void redeploy(java.lang.String context)
           
 void setDeployManager(DeployManager deployManager)
           
static 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

DeployManagerUtil

public DeployManagerUtil()
Method Detail

deploy

public static void deploy(AutoDeploymentContext autoDeploymentContext)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getDeployDir

public static java.lang.String getDeployDir()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getDeployManager

public static DeployManager getDeployManager()

getInstalledDir

public static java.lang.String getInstalledDir()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

getInstalledPluginPackage

public static PluginPackage getInstalledPluginPackage(java.lang.String context)

getInstalledPluginPackages

public static java.util.List<PluginPackage> getInstalledPluginPackages()

isDeployed

public static boolean isDeployed(java.lang.String context)

readPluginPackageProperties

public static PluginPackage readPluginPackageProperties(java.lang.String displayName,
                                                        java.util.Properties properties)

readPluginPackageXml

public static PluginPackage readPluginPackageXml(java.lang.String xml)
                                          throws java.lang.Exception
Throws:
java.lang.Exception

redeploy

public static void redeploy(java.lang.String context)
                     throws java.lang.Exception
Throws:
java.lang.Exception

undeploy

public static void undeploy(java.lang.String context)
                     throws java.lang.Exception
Throws:
java.lang.Exception

setDeployManager

public void setDeployManager(DeployManager deployManager)