Liferay 6.2.0-ce-rc3

com.liferay.util.resiliency.spi.provider
Class SPIClassPathContextListener

java.lang.Object
  extended by com.liferay.util.resiliency.spi.provider.SPIClassPathContextListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class SPIClassPathContextListener
extends Object
implements javax.servlet.ServletContextListener


Field Summary
static String SPI_CLASS_PATH
           
protected static AtomicReference<SPIProvider> spiProviderReference
           
 
Constructor Summary
SPIClassPathContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
           
 void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
           
protected static Class<?> loadClassDirectly(ClassLoader classLoader, String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPI_CLASS_PATH

public static volatile String SPI_CLASS_PATH

spiProviderReference

protected static final AtomicReference<SPIProvider> spiProviderReference
Constructor Detail

SPIClassPathContextListener

public SPIClassPathContextListener()
Method Detail

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

loadClassDirectly

protected static Class<?> loadClassDirectly(ClassLoader classLoader,
                                            String className)
                                     throws Exception
Throws:
Exception

Liferay 6.2.0-ce-rc3