jaxx.compiler.reflect
Class ClassDescriptorResolver
java.lang.Object
jaxx.compiler.reflect.ClassDescriptorResolver
- Direct Known Subclasses:
- ClassDescriptorResolverFromJavaClass, ClassDescriptorResolverFromJavaFile, ClassDescriptorResolverFromJaxxFile
public abstract class ClassDescriptorResolver
- extends Object
Contract of a resolver of class descriptor.
The unique method resolvDescriptor(String,URL) will returns the
descriptor if can be found.
- Since:
- 2.0.2
- Author:
- tchemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassDescriptorResolver
public ClassDescriptorResolver()
getClassLoader
public ClassLoader getClassLoader()
setClassLoader
public void setClassLoader(ClassLoader classLoader)
resolvDescriptor
public abstract ClassDescriptor resolvDescriptor(String className,
URL source)
throws ClassNotFoundException
- Parameters:
className - the fully qualified name of the classsource - the source of the class (java file, jaxx file, class)
- Returns:
- the descriptor of the given class
- Throws:
ClassNotFoundException - if class descriptor could not be found.
Copyright © 2008-2011 CodeLutin. All Rights Reserved.