org.eclipse.persistence.jaxb.javamodel.reflection
Class JavaModelImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.reflection.JavaModelImpl
- All Implemented Interfaces:
- JavaModel
public class JavaModelImpl
- extends java.lang.Object
- implements JavaModel
INTERNAL:
Purpose:The JavaModel is the central access point to the TopLink
JAXB 2.0 Java model implementation's source/class files. A JavaModel has
an underlying source/classpath that defines its search path.
Responsibilities:
- Return a JavaClass based on a Class or Class name
- Return a JDK Annotation for a given JavaAnnotation
- See Also:
JavaModel
- Since:
- Oracle TopLink 11.1.1.0.0
Constructor Summary |
JavaModelImpl(java.lang.ClassLoader classLoader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaModelImpl
public JavaModelImpl(java.lang.ClassLoader classLoader)
getClass
public JavaClass getClass(java.lang.Class jClass)
- Specified by:
getClass
in interface JavaModel
getClass
public JavaClass getClass(java.lang.String classname)
- Specified by:
getClass
in interface JavaModel
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interface JavaModel
getAnnotation
public java.lang.annotation.Annotation getAnnotation(JavaAnnotation janno,
java.lang.Class jClass)
- Specified by:
getAnnotation
in interface JavaModel