Liferay 6.2-ce-ga5

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
protected  void addJarFiles(Set<File> jarFiles, ClassLoader classLoader, String className)
           
protected  void addJarFiles(Set<File> jarFiles, File dir)
           
 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

addJarFiles

protected void addJarFiles(Set<File> jarFiles,
                           ClassLoader classLoader,
                           String className)

addJarFiles

protected void addJarFiles(Set<File> jarFiles,
                           File dir)

Liferay 6.2-ce-ga5