com.liferay.portal.deploy.hot
Class PortletHotDeployListener

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

public class PortletHotDeployListener
extends com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener

Author:
Brian Wing Shun Chan, Brian Myunghun Kim, Ivica Cardic, Raymond Augé

Constructor Summary
PortletHotDeployListener()
           
 
Method Summary
protected  void destroyPortlet(com.liferay.portal.model.Portlet portlet, java.util.Set<java.lang.String> portletIds)
           
protected  void doInvokeDeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent hotDeployEvent)
           
protected  void doInvokeUndeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent hotDeployEvent)
           
protected  void initLogger(java.lang.ClassLoader portletClassLoader)
           
protected  com.liferay.portal.kernel.portlet.PortletBag initPortlet(com.liferay.portal.model.Portlet portlet, PortletBagFactory portletBagFactory)
           
protected  void initPortletApp(com.liferay.portal.model.Portlet portlet, java.lang.String servletContextName, javax.servlet.ServletContext servletContext, java.lang.ClassLoader portletClassLoader)
           
 void invokeDeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent hotDeployEvent)
           
 void invokeUndeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent hotDeployEvent)
           
protected  void logRegistration(java.lang.String servletContextName)
           
protected  void processPortletProperties(java.lang.String servletContextName, java.lang.ClassLoader portletClassLoader)
           
 
Methods inherited from class com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener
getClpServletContextName, newInstance, newInstance, registerClpMessageListeners, throwHotDeployException, unregisterClpMessageListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletHotDeployListener

public PortletHotDeployListener()
Method Detail

invokeDeploy

public void invokeDeploy(com.liferay.portal.kernel.deploy.hot.HotDeployEvent hotDeployEvent)
                  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 hotDeployEvent)
                    throws com.liferay.portal.kernel.deploy.hot.HotDeployException
Throws:
com.liferay.portal.kernel.deploy.hot.HotDeployException

destroyPortlet

protected void destroyPortlet(com.liferay.portal.model.Portlet portlet,
                              java.util.Set<java.lang.String> portletIds)
                       throws java.lang.Exception
Throws:
java.lang.Exception

doInvokeDeploy

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

doInvokeUndeploy

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

initLogger

protected void initLogger(java.lang.ClassLoader portletClassLoader)

initPortlet

protected com.liferay.portal.kernel.portlet.PortletBag initPortlet(com.liferay.portal.model.Portlet portlet,
                                                                   PortletBagFactory portletBagFactory)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

initPortletApp

protected void initPortletApp(com.liferay.portal.model.Portlet portlet,
                              java.lang.String servletContextName,
                              javax.servlet.ServletContext servletContext,
                              java.lang.ClassLoader portletClassLoader)
                       throws java.lang.Exception
Throws:
java.lang.Exception

logRegistration

protected void logRegistration(java.lang.String servletContextName)

processPortletProperties

protected void processPortletProperties(java.lang.String servletContextName,
                                        java.lang.ClassLoader portletClassLoader)
                                 throws java.lang.Exception
Throws:
java.lang.Exception