|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.DefaultClassResolver
public class DefaultClassResolver
Default class resolver that uses regular class loader to load classes.
| Constructor Summary | |
|---|---|
DefaultClassResolver()
|
|
| Method Summary | ||
|---|---|---|
protected Class |
loadClass(String name,
ClassLoader loader)
|
|
Class |
resolveClass(String name)
Resolves the given class by its name |
|
|
resolveClass(String name,
Class<T> type)
Resolves the given class by its name |
|
|
resolveClass(String name,
Class<T> type,
ClassLoader loader)
Resolves the given class by its name |
|
Class |
resolveClass(String name,
ClassLoader loader)
Resolves the given class by its name |
|
Class |
resolveMandatoryClass(String name)
Resolves the given class by its name |
|
|
resolveMandatoryClass(String name,
Class<T> type)
Resolves the given class by its name |
|
|
resolveMandatoryClass(String name,
Class<T> type,
ClassLoader loader)
Resolves the given class by its name |
|
Class |
resolveMandatoryClass(String name,
ClassLoader loader)
Resolves the given class by its name |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultClassResolver()
| Method Detail |
|---|
public Class resolveClass(String name)
ClassResolver
resolveClass in interface ClassResolvername - full qualified name of class
public <T> Class<T> resolveClass(String name,
Class<T> type)
ClassResolver
resolveClass in interface ClassResolvername - full qualified name of classtype - the expected type of the class
public Class resolveClass(String name,
ClassLoader loader)
ClassResolver
resolveClass in interface ClassResolvername - full qualified name of classloader - use the provided class loader
public <T> Class<T> resolveClass(String name,
Class<T> type,
ClassLoader loader)
ClassResolver
resolveClass in interface ClassResolvername - full qualified name of classtype - the expected type of the classloader - use the provided class loader
public Class resolveMandatoryClass(String name)
throws ClassNotFoundException
ClassResolver
resolveMandatoryClass in interface ClassResolvername - full qualified name of class
ClassNotFoundException - is thrown if class not found
public <T> Class<T> resolveMandatoryClass(String name,
Class<T> type)
throws ClassNotFoundException
ClassResolver
resolveMandatoryClass in interface ClassResolvername - full qualified name of classtype - the expected type of the class
ClassNotFoundException - is thrown if class not found
public Class resolveMandatoryClass(String name,
ClassLoader loader)
throws ClassNotFoundException
ClassResolver
resolveMandatoryClass in interface ClassResolvername - full qualified name of classloader - use the provided class loader
ClassNotFoundException - is thrown if class not found
public <T> Class<T> resolveMandatoryClass(String name,
Class<T> type,
ClassLoader loader)
throws ClassNotFoundException
ClassResolver
resolveMandatoryClass in interface ClassResolvername - full qualified name of classtype - the expected type of the classloader - use the provided class loader
ClassNotFoundException - is thrown if class not found
protected Class loadClass(String name,
ClassLoader loader)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||