org.zkoss.lang
Class SimpleClassResolver

java.lang.Object
  extended by org.zkoss.lang.SimpleClassResolver
All Implemented Interfaces:
java.io.Serializable, ClassResolver

public class SimpleClassResolver
extends java.lang.Object
implements ClassResolver, java.io.Serializable

A simple resolver that depends on Classes.forNameByThread(java.lang.String).

Since:
6.0.0
Author:
tomyeh
See Also:
ImportedClassResolver, Serialized Form

Constructor Summary
SimpleClassResolver()
           
 
Method Summary
 java.lang.Class resolveClass(java.lang.String clsnm)
          Resolves the class of the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleClassResolver

public SimpleClassResolver()
Method Detail

resolveClass

public java.lang.Class resolveClass(java.lang.String clsnm)
                             throws java.lang.ClassNotFoundException
Description copied from interface: ClassResolver
Resolves the class of the specified name.

Specified by:
resolveClass in interface ClassResolver
Throws:
java.lang.ClassNotFoundException - if the class is not found.


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo