com.liferay.portal.deploy.hot
Class HookHotDeployListener

java.lang.Object
  extended by com.liferay.portal.deploy.hot.BaseHotDeployListener
      extended by com.liferay.portal.deploy.hot.HookHotDeployListener
All Implemented Interfaces:
com.liferay.portal.kernel.deploy.hot.HotDeployListener

public class HookHotDeployListener
extends BaseHotDeployListener

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
HookHotDeployListener()
           
 
Method Summary
protected  boolean containsKey(java.util.Properties portalProperties, java.lang.String key)
           
protected  void destroyCustomJspBag(com.liferay.portal.deploy.hot.HookHotDeployListener.CustomJspBag customJspBag)
           
protected  void destroyPortalProperties(java.util.Properties portalProperties)
           
protected  void doInvokeDeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent event)
           
protected  void doInvokeUndeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent event)
           
protected  void getCustomJsps(javax.servlet.ServletContext servletContext, java.lang.String webDir, java.lang.String resourcePath, java.util.List<java.lang.String> customJsps)
           
protected  com.liferay.portal.service.persistence.BasePersistence getPersistence(java.lang.String modelName)
           
protected  java.io.File getPortalJspBackupFile(java.io.File portalJspFile)
           
protected  void initCustomJspBag(com.liferay.portal.deploy.hot.HookHotDeployListener.CustomJspBag customJspBag)
           
protected  java.lang.Object initEvent(java.lang.String eventClass, java.lang.String eventType, java.lang.ClassLoader portletClassLoader)
           
protected  com.liferay.portal.model.ModelListener initModelListener(java.lang.String modelListenerClass, java.lang.String modelName, java.lang.ClassLoader portletClassLoader)
           
protected  void initPortalProperties(java.util.Properties portalProperties)
           
 void invokeDeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent event)
           
 void invokeUndeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent event)
           
protected  void resetPortalProperties(java.util.Properties portalProperties)
           
 
Methods inherited from class com.liferay.portal.deploy.hot.BaseHotDeployListener
throwHotDeployException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HookHotDeployListener

public HookHotDeployListener()
Method Detail

invokeDeploy

public void invokeDeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent event)
                  throws com.liferay.portal.kernel.deploy.hot.HotDeployException
Throws:
com.liferay.portal.kernel.deploy.hot.HotDeployException

invokeUndeploy

public void invokeUndeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent event)
                    throws com.liferay.portal.kernel.deploy.hot.HotDeployException
Throws:
com.liferay.portal.kernel.deploy.hot.HotDeployException

containsKey

protected boolean containsKey(java.util.Properties portalProperties,
                              java.lang.String key)

destroyCustomJspBag

protected void destroyCustomJspBag(com.liferay.portal.deploy.hot.HookHotDeployListener.CustomJspBag customJspBag)

destroyPortalProperties

protected void destroyPortalProperties(java.util.Properties portalProperties)
                                throws java.lang.Exception
Throws:
java.lang.Exception

doInvokeDeploy

protected void doInvokeDeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent event)
                       throws java.lang.Exception
Throws:
java.lang.Exception

doInvokeUndeploy

protected void doInvokeUndeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent event)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getCustomJsps

protected void getCustomJsps(javax.servlet.ServletContext servletContext,
                             java.lang.String webDir,
                             java.lang.String resourcePath,
                             java.util.List<java.lang.String> customJsps)

getPersistence

protected com.liferay.portal.service.persistence.BasePersistence getPersistence(java.lang.String modelName)

getPortalJspBackupFile

protected java.io.File getPortalJspBackupFile(java.io.File portalJspFile)

initCustomJspBag

protected void initCustomJspBag(com.liferay.portal.deploy.hot.HookHotDeployListener.CustomJspBag customJspBag)
                         throws java.lang.Exception
Throws:
java.lang.Exception

initEvent

protected java.lang.Object initEvent(java.lang.String eventClass,
                                     java.lang.String eventType,
                                     java.lang.ClassLoader portletClassLoader)
                              throws java.lang.Exception
Throws:
java.lang.Exception

initModelListener

protected com.liferay.portal.model.ModelListener initModelListener(java.lang.String modelListenerClass,
                                                                   java.lang.String modelName,
                                                                   java.lang.ClassLoader portletClassLoader)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

initPortalProperties

protected void initPortalProperties(java.util.Properties portalProperties)
                             throws java.lang.Exception
Throws:
java.lang.Exception

resetPortalProperties

protected void resetPortalProperties(java.util.Properties portalProperties)
                              throws java.lang.Exception
Throws:
java.lang.Exception