public class TemplateClassLoader extends ClassLoader
| Modifier and Type | Class and Description |
|---|---|
static class |
TemplateClassLoader.ClassStateHashCreator |
static class |
TemplateClassLoader.TemplateClassloaderState
Each unique instance of this class represent a State of the TemplateClassLoader.
|
| Modifier and Type | Field and Description |
|---|---|
TemplateClassLoader.TemplateClassloaderState |
currentState
A representation of the current state of the TemplateClassLoader.
|
RythmEngine |
engine |
ProtectionDomain |
protectionDomain
This protection domain applies to all loaded classCache.
|
| Constructor and Description |
|---|
TemplateClassLoader(ClassLoader parent,
RythmEngine engine) |
TemplateClassLoader(RythmEngine engine) |
| Modifier and Type | Method and Description |
|---|---|
void |
detectChange(TemplateClass tc) |
void |
detectChanges()
Detect Template changes
|
protected byte[] |
getClassDefinition(String name0)
Search for the byte code of the given class.
|
protected Class<?> |
loadClass(String name,
boolean resolve) |
static void |
setSandboxPassword(String password) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic TemplateClassLoader.TemplateClassloaderState currentState
public ProtectionDomain protectionDomain
public RythmEngine engine
public TemplateClassLoader(RythmEngine engine)
public TemplateClassLoader(ClassLoader parent, RythmEngine engine)
public static void setSandboxPassword(String password)
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionprotected byte[] getClassDefinition(String name0)
public void detectChange(TemplateClass tc)
public void detectChanges()
Copyright © 2016. All Rights Reserved.