|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
no.sesat.search.site.config.ResourceClassLoader
public abstract class ResourceClassLoader
ClassLoader abstraction to handle loading classes across skins.
| Nested Class Summary | |
|---|---|
static interface |
ResourceClassLoader.Context
Context needed by this class. |
| Constructor Summary | |
|---|---|
ResourceClassLoader(ResourceClassLoader.Context context)
Creates a new resource class loader for a site. |
|
ResourceClassLoader(ResourceClassLoader.Context context,
ClassLoader parent)
|
|
| Method Summary | |
|---|---|
protected Class<?> |
findClass(String className)
Finds classes using a BytecodeLoader. |
protected abstract String |
getJarName()
Returns the jar file the class must be contained in. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceClassLoader(ResourceClassLoader.Context context)
context - the context.
public ResourceClassLoader(ResourceClassLoader.Context context,
ClassLoader parent)
| Method Detail |
|---|
protected abstract String getJarName()
protected Class<?> findClass(String className)
throws ClassNotFoundException
BytecodeLoader.
findClass in class ClassLoaderclassName - the clas to find
ClassNotFoundException - if the class cannot be found in this class loader.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||