|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
cz.cuni.utils.DirectoryClassLoader
cz.cuni.utils.PogamutPlatformClassLoader
public class PogamutPlatformClassLoader
Class loader for Pogamut Platform. It currenly searches in $POGAMUT_PLATFORM/ENGINES_DIR
Field Summary | |
---|---|
static java.lang.String |
ENGINES_DIR
Directory under $POGAMUT_PLATFORM dir where script engines are stored. |
private static boolean |
changed
True if somebody changed directory. |
protected static java.lang.ClassLoader |
instance
|
Constructor Summary | |
---|---|
protected |
PogamutPlatformClassLoader()
Creates a new instance of PogamutPlatformClassLoader |
Method Summary | |
---|---|
static java.lang.ClassLoader |
getInstance()
|
protected static java.io.File |
getPlatformDir()
|
static boolean |
isChanged()
|
static void |
setChanged(boolean aChanged)
|
Methods inherited from class cz.cuni.utils.DirectoryClassLoader |
---|
dirToJarUrls |
Methods inherited from class java.net.URLClassLoader |
---|
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
Methods inherited from class java.security.SecureClassLoader |
---|
defineClass, defineClass |
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ENGINES_DIR
protected static java.lang.ClassLoader instance
private static boolean changed
Constructor Detail |
---|
protected PogamutPlatformClassLoader() throws java.io.IOException
java.io.IOException
Method Detail |
---|
protected static java.io.File getPlatformDir()
public static java.lang.ClassLoader getInstance()
public static boolean isChanged()
public static void setChanged(boolean aChanged)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |