public interface ClassResolver
Class
reflecting that type.CLASS_FOR_NAME_RESOLVER
Modifier and Type | Field and Description |
---|---|
static ClassResolver |
CLASS_FOR_NAME_RESOLVER
This is a singleton implementation of the
ClassResolver interface that simply delegates to
Class.forName(String) . |
Modifier and Type | Method and Description |
---|---|
Class<?> |
resolveClass(String name)
This method resolves the class with the given
name . |
static final ClassResolver CLASS_FOR_NAME_RESOLVER
ClassResolver
interface that simply delegates to
Class.forName(String)
.Class<?> resolveClass(String name) throws TypeNotFoundException
name
. In addition to a ClassLoader
this method may
also find types via a logical alias name. name
can be the physical (fully qualified) classname (e.g. org.foo.BlobImpl
) but this may also
be a logical name depending on the implementation of this interface (e.g. Blob
may point to the same type).name
- is the logical or physical name of the requested type.name
.TypeNotFoundException
- if the requested type was NOT found.Copyright © 2001–2016 mmm-Team. All rights reserved.