Kieker 1.12

kieker.common.util.classpath
Class CachedClassForNameResolver<T>

java.lang.Object
  extended by kieker.common.util.classpath.CachedClassForNameResolver<T>
Type Parameters:
T - the type that is used to cast a type that was found in the class path

public class CachedClassForNameResolver<T>
extends java.lang.Object

Since:
1.11
Author:
Christian Wulf

Constructor Summary
CachedClassForNameResolver(ClassForNameResolver<T> classForNameResolver)
           
 
Method Summary
 java.lang.Class<? extends T> classForName(java.lang.String classname)
          This method tries to find a class with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedClassForNameResolver

public CachedClassForNameResolver(ClassForNameResolver<T> classForNameResolver)
Method Detail

classForName

public final java.lang.Class<? extends T> classForName(java.lang.String classname)
                                                throws java.lang.ClassNotFoundException
This method tries to find a class with the given name.

Parameters:
classname - The name of the class.
Returns:
A Class instance corresponding to the given name, if it exists.
Throws:
java.lang.ClassNotFoundException

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net