Liferay 6.2-ce-ga5

com.liferay.portal.kernel.deploy.hot
Class BaseHotDeployListener

java.lang.Object
  extended by com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener
All Implemented Interfaces:
HotDeployListener
Direct Known Subclasses:
ExtHotDeployListener, HookHotDeployListener, JSONWebServiceHotDeployListener, LayoutTemplateHotDeployListener, MessagingHotDeployListener, PluginIntegrationTestHotDeployListener, PluginPackageHotDeployListener, PortletHotDeployListener, ServletContextListenerHotDeployListener, SocialHotDeployListener, SpringHotDeployListener, ThemeHotDeployListener, ThemeLoaderHotDeployListener

public abstract class BaseHotDeployListener
extends Object
implements HotDeployListener


Constructor Summary
BaseHotDeployListener()
           
 
Method Summary
protected  String getClpServletContextName(Class<?> clpMessageListenerClass, MessageListener clpMessageListener)
           
protected  Object newInstance(ClassLoader portletClassLoader, Class<?>[] interfaceClasses, String implClassName)
           
protected  Object newInstance(ClassLoader portletClassLoader, Class<?> interfaceClass, String implClassName)
           
protected  void registerClpMessageListeners(javax.servlet.ServletContext servletContext, ClassLoader portletClassLoader)
           
 void throwHotDeployException(HotDeployEvent event, String msg, Throwable t)
           
protected  void unregisterClpMessageListeners(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.deploy.hot.HotDeployListener
invokeDeploy, invokeUndeploy
 

Constructor Detail

BaseHotDeployListener

public BaseHotDeployListener()
Method Detail

throwHotDeployException

public void throwHotDeployException(HotDeployEvent event,
                                    String msg,
                                    Throwable t)
                             throws HotDeployException
Throws:
HotDeployException

getClpServletContextName

protected String getClpServletContextName(Class<?> clpMessageListenerClass,
                                          MessageListener clpMessageListener)
                                   throws Exception
Throws:
Exception

newInstance

protected Object newInstance(ClassLoader portletClassLoader,
                             Class<?> interfaceClass,
                             String implClassName)
                      throws Exception
Throws:
Exception

newInstance

protected Object newInstance(ClassLoader portletClassLoader,
                             Class<?>[] interfaceClasses,
                             String implClassName)
                      throws Exception
Throws:
Exception

registerClpMessageListeners

protected void registerClpMessageListeners(javax.servlet.ServletContext servletContext,
                                           ClassLoader portletClassLoader)
                                    throws Exception
Throws:
Exception

unregisterClpMessageListeners

protected void unregisterClpMessageListeners(javax.servlet.ServletContext servletContext)
                                      throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5