railo.commons.lang
Class PCLCollection
java.lang.Object
railo.commons.lang.PCLCollection
public final class PCLCollection
- extends Object
Directory ClassLoader
PCLCollection
public PCLCollection(MappingImpl mapping,
Resource directory,
ClassLoader parent,
int maxBlockSize)
throws IOException
- Constructor of the class
- Parameters:
directory
- parent
-
- Throws:
IOException
loadClass
public Class<?> loadClass(String name,
byte[] barr,
boolean isCFC)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getClass
public Class<?> getClass(PageSourceImpl ps)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getResourceAsStream
public InputStream getResourceAsStream(String name)
count
public long count()
shrink
public int shrink(boolean force)
- shrink the classloader elements
- Returns:
- how many page have removed from classloaders
Copyright © 2012 Railo