public class DefaultClassBroker extends Object implements ClassBroker
Constructor and Description |
---|
DefaultClassBroker() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
forName(String qualifiedName)
Returns the
Class object associated with the class or
interface with the given string name. |
public Class<?> forName(String qualifiedName) throws ClassNotFoundException
Class
object associated with the class or
interface with the given string name.forName
in interface ClassBroker
qualifiedName
- the fully qualified name of the desired class.Class
object for the class with the specified name.ClassNotFoundException
- if the class cannot be located