com.liferay.portal.kernel.deploy
Class DeployManagerUtil
java.lang.Object
com.liferay.portal.kernel.deploy.DeployManagerUtil
public class DeployManagerUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeployManagerUtil
public DeployManagerUtil()
deploy
public static void deploy(AutoDeploymentContext autoDeploymentContext)
throws Exception
- Throws:
Exception
getDeployDir
public static String getDeployDir()
throws Exception
- Throws:
Exception
getDeployManager
public static DeployManager getDeployManager()
getInstalledDir
public static String getInstalledDir()
throws Exception
- Throws:
Exception
getInstalledPluginPackage
public static PluginPackage getInstalledPluginPackage(String context)
getInstalledPluginPackages
public static List<PluginPackage> getInstalledPluginPackages()
isDeployed
public static boolean isDeployed(String context)
readPluginPackageProperties
public static PluginPackage readPluginPackageProperties(String displayName,
Properties properties)
readPluginPackageXml
public static PluginPackage readPluginPackageXml(String xml)
throws Exception
- Throws:
Exception
redeploy
public static void redeploy(String context)
throws Exception
- Throws:
Exception
reset
public static void reset()
undeploy
public static void undeploy(String context)
throws Exception
- Throws:
Exception
setDeployManager
public void setDeployManager(DeployManager deployManager)