EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jaxb.javamodel.reflection
Class JavaModelImpl

java.lang.Object
  extended by org.eclipse.persistence.jaxb.javamodel.reflection.JavaModelImpl
All Implemented Interfaces:
JavaModel
Direct Known Subclasses:
OXMJavaModelImpl

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:

See Also:
JavaModel
Since:
Oracle TopLink 11.1.1.0.0

Field Summary
protected  java.lang.ClassLoader classLoader
           
 
Constructor Summary
JavaModelImpl(java.lang.ClassLoader classLoader)
           
JavaModelImpl(java.lang.ClassLoader classLoader, AnnotationHelper annotationHelper)
           
 
Method Summary
 java.lang.annotation.Annotation getAnnotation(JavaAnnotation janno, java.lang.Class<?> jClass)
           
 AnnotationHelper getAnnotationHelper()
           
 java.util.Map<java.lang.String,JavaClassImpl> getCachedJavaClasses()
           
 JavaClass getClass(java.lang.Class<?> jClass)
           
 JavaClass getClass(java.lang.String className)
           
 java.lang.ClassLoader getClassLoader()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classLoader

protected java.lang.ClassLoader classLoader
Constructor Detail

JavaModelImpl

public JavaModelImpl(java.lang.ClassLoader classLoader)

JavaModelImpl

public JavaModelImpl(java.lang.ClassLoader classLoader,
                     AnnotationHelper annotationHelper)
Method Detail

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 -

getCachedJavaClasses

public java.util.Map<java.lang.String,JavaClassImpl> getCachedJavaClasses()

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference