com.liferay.portal.deploy.sandbox
Class PortletSandboxHandler

java.lang.Object
  extended by com.liferay.portal.deploy.sandbox.BaseSandboxHandler
      extended by com.liferay.portal.deploy.sandbox.PortletSandboxHandler
All Implemented Interfaces:
SandboxHandler

public class PortletSandboxHandler
extends BaseSandboxHandler

Author:
Igor Spasic, Brian Wing Shun Chan

Field Summary
 
Fields inherited from interface com.liferay.portal.deploy.sandbox.SandboxHandler
SANDBOX_MARKER
 
Constructor Summary
PortletSandboxHandler(com.liferay.portal.kernel.deploy.Deployer deployer)
           
 
Method Summary
protected  void clonePlugin(java.io.File dir, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
           
protected  java.lang.String getPluginType()
           
protected  com.liferay.portal.kernel.xml.Namespace getPortletNamespace(com.liferay.portal.kernel.xml.Document document)
           
protected  void updateLiferayDisplayXML(java.io.File dir)
           
protected  void updatePortletXML(java.io.File dir)
           
 
Methods inherited from class com.liferay.portal.deploy.sandbox.BaseSandboxHandler
createContextXml, createPluginPackageProperties, deleteContextXml, deploy, getDisplayName, getEngineHostDir, getPluginName, isEnabled, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletSandboxHandler

public PortletSandboxHandler(com.liferay.portal.kernel.deploy.Deployer deployer)
Method Detail

clonePlugin

protected void clonePlugin(java.io.File dir,
                           com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
                    throws java.lang.Exception
Specified by:
clonePlugin in class BaseSandboxHandler
Throws:
java.lang.Exception

getPortletNamespace

protected com.liferay.portal.kernel.xml.Namespace getPortletNamespace(com.liferay.portal.kernel.xml.Document document)

getPluginType

protected java.lang.String getPluginType()
Specified by:
getPluginType in class BaseSandboxHandler

updateLiferayDisplayXML

protected void updateLiferayDisplayXML(java.io.File dir)
                                throws java.lang.Exception
Throws:
java.lang.Exception

updatePortletXML

protected void updatePortletXML(java.io.File dir)
                         throws java.lang.Exception
Throws:
java.lang.Exception