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
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)
JavaModelImpl
public JavaModelImpl(java.lang.ClassLoader classLoader,
AnnotationHelper annotationHelper)
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
getAnnotationHelper
public AnnotationHelper getAnnotationHelper()
setMetadataCompletePackageMap
public void setMetadataCompletePackageMap(java.util.Map<java.lang.String,java.lang.Boolean> metadataCompletePackageMap)
- Set the Map of package names to metadata complete indicators for this
JavaModelInput. If a given package has no entry in this map it is
assumed to be metadata incomplete.
- Parameters:
metadataCompletePackageMap
-