T - the type that is used to cast a type that was found in the class pathpublic class CachedClassForNameResolver<T>
extends java.lang.Object
| Constructor and Description |
|---|
CachedClassForNameResolver(ClassForNameResolver<T> classForNameResolver)
Create a cached class name resolver.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends T> |
classForName(java.lang.String classname)
This method tries to find a class with the given name.
|
public CachedClassForNameResolver(ClassForNameResolver<T> classForNameResolver)
classForNameResolver - plain class name resolverpublic final java.lang.Class<? extends T> classForName(java.lang.String classname) throws java.lang.ClassNotFoundException
classname - The name of the class.Class instance corresponding to the given name, if it exists.java.lang.ClassNotFoundException - when the specified classname does not refer to a known classCopyright 2020 Kieker Project, http://kieker-monitoring.net