|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
org.rythmengine.internal.compiler.TemplateClassLoader
public class TemplateClassLoader
Created by IntelliJ IDEA. User: luog Date: 18/01/12 Time: 9:01 PM To change this template use File | Settings | File Templates.
| Nested Class Summary | |
|---|---|
static class |
TemplateClassLoader.ClassStateHashCreator
|
static class |
TemplateClassLoader.TemplateClassloaderState
Each unique instance of this class represent a State of the TemplateClassLoader. |
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
TemplateClassLoader(ClassLoader parent,
RythmEngine engine)
|
|
TemplateClassLoader(RythmEngine engine)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public TemplateClassLoader.TemplateClassloaderState currentState
public ProtectionDomain protectionDomain
public RythmEngine engine
| Constructor Detail |
|---|
public TemplateClassLoader(RythmEngine engine)
public TemplateClassLoader(ClassLoader parent,
RythmEngine engine)
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||