|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.tapestry.DanubeClassResolver
public class DanubeClassResolver
ClassResolver
implementation that uses supplied class loader
Field Summary | |
---|---|
protected ClassLoader |
classLoader
Class loader |
Constructor Summary | |
---|---|
DanubeClassResolver()
|
Method Summary | |
---|---|
Class |
checkForClass(String name)
Checks if class is available for load. |
Class<?> |
findClass(String name)
Finds a class from given name. |
ClassLoader |
getClassLoader()
Returns class loader |
URL |
getResource(String name)
Returns resource as url. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ClassLoader classLoader
Constructor Detail |
---|
public DanubeClassResolver()
Method Detail |
---|
public URL getResource(String name)
ClassLoader.getResource(String)
.
getResource
in interface org.apache.hivemind.ClassResolver
public Class<?> findClass(String name)
ClassLoader.loadClass(String)
.
findClass
in interface org.apache.hivemind.ClassResolver
name
- class name
org.apache.hivemind.ApplicationRuntimeException
public Class checkForClass(String name)
null
.
checkForClass
in interface org.apache.hivemind.ClassResolver
name
- class name
null
public ClassLoader getClassLoader()
getClassLoader
in interface org.apache.hivemind.ClassResolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |