com.liferay.portal.kernel.test.plugins
Class PluginIntegrationTestHotDeployListener

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

public class PluginIntegrationTestHotDeployListener
extends BaseHotDeployListener

Author:
Manuel de la Peña

Constructor Summary
PluginIntegrationTestHotDeployListener()
           
 
Method Summary
protected  void doInvokeDeploy(HotDeployEvent hotDeployEvent)
           
protected  void doInvokeUndeploy(HotDeployEvent hotDeployEvent)
           
protected  java.util.List<java.lang.Class<?>> getAllClassesInIntegrationJar(HotDeployEvent hotDeployEvent)
           
 void invokeDeploy(HotDeployEvent hotDeployEvent)
           
 void invokeUndeploy(HotDeployEvent hotDeployEvent)
           
protected  boolean isTestClass(java.lang.Class<?> clazz)
           
protected  void runTestClasses(java.util.List<java.lang.Class<?>> classes)
           
 
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

PluginIntegrationTestHotDeployListener

public PluginIntegrationTestHotDeployListener()
Method Detail

invokeDeploy

public void invokeDeploy(HotDeployEvent hotDeployEvent)
                  throws HotDeployException
Throws:
HotDeployException

invokeUndeploy

public void invokeUndeploy(HotDeployEvent hotDeployEvent)
                    throws HotDeployException
Throws:
HotDeployException

doInvokeDeploy

protected void doInvokeDeploy(HotDeployEvent hotDeployEvent)
                       throws java.lang.Exception
Throws:
java.lang.Exception

doInvokeUndeploy

protected void doInvokeUndeploy(HotDeployEvent hotDeployEvent)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getAllClassesInIntegrationJar

protected java.util.List<java.lang.Class<?>> getAllClassesInIntegrationJar(HotDeployEvent hotDeployEvent)
                                                                    throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

isTestClass

protected boolean isTestClass(java.lang.Class<?> clazz)

runTestClasses

protected void runTestClasses(java.util.List<java.lang.Class<?>> classes)
                       throws java.lang.RuntimeException
Throws:
java.lang.RuntimeException