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 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  com.liferay.portal.service.persistence.impl.BasePersistenceImpl getPersistence(java.lang.String modelName)
           
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)

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

getPersistence

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

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