Module org.eclipse.persistence.moxy
Class JavaModelImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.reflection.JavaModelImpl
- All Implemented Interfaces:
JavaModel
- Direct Known Subclasses:
OXMJavaModelImpl
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
- Since:
- Oracle TopLink 11.1.1.0.0
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJavaModelImpl
(ClassLoader classLoader) JavaModelImpl
(ClassLoader classLoader, AnnotationHelper annotationHelper) -
Method Summary
Modifier and TypeMethodDescriptiongetAnnotation
(JavaAnnotation janno, Class<?> jClass) boolean
void
setHasXmlBindings
(boolean hasXmlBindings) void
setMetadataCompletePackageMap
(Map<String, Boolean> metadataCompletePackageMap) Set the Map of package names to metadata complete indicators for this JavaModelInput.
-
Field Details
-
classLoader
-
-
Constructor Details
-
JavaModelImpl
-
JavaModelImpl
-
-
Method Details
-
getClass
-
getClass
-
getClassLoader
- Specified by:
getClassLoader
in interfaceJavaModel
-
getAnnotation
- Specified by:
getAnnotation
in interfaceJavaModel
-
getAnnotationHelper
-
setMetadataCompletePackageMap
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. -
getCachedJavaClasses
-
hasXmlBindings
public boolean hasXmlBindings() -
setHasXmlBindings
public void setHasXmlBindings(boolean hasXmlBindings)
-