java.lang.Object
org.eclipse.persistence.dynamic.DynamicClassWriter
org.eclipse.persistence.internal.xr.XRClassWriter
- All Implemented Interfaces:
EclipseLinkClassWriter
INTERNAL: XRClassWriter uses ASM to dynamically generate subclasses of
XRDynamicEntity
- Since:
- EclipseLink 1.x
-
Field Summary
Fields inherited from class org.eclipse.persistence.dynamic.DynamicClassWriter
CLINIT, DYNAMIC_PROPERTIES_MANAGER_CLASSNAME_SLASHES, ICONST, INIT, parentClass, parentClassName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
verify
(Class<?> dynamicClass, ClassLoader loader) Verify that the provided class meets the requirements of the writer.byte[]
writeClass
(DynamicClassLoader loader, String className) Methods inherited from class org.eclipse.persistence.dynamic.DynamicClassWriter
addFields, addInterface, addMethods, createCopy, createEnum, getInterfaces, getParentClass, getParentClassName, isCompatible, toString
-
Constructor Details
-
XRClassWriter
public XRClassWriter()
-
-
Method Details
-
writeClass
- Specified by:
writeClass
in interfaceEclipseLinkClassWriter
- Overrides:
writeClass
in classDynamicClassWriter
- Throws:
ClassNotFoundException
-
verify
Description copied from class:DynamicClassWriter
Verify that the provided class meets the requirements of the writer. In the case ofDynamicClassWriter
this will ensure that the class is a subclass of theDynamicClassWriter.parentClass
- Overrides:
verify
in classDynamicClassWriter
- Throws:
ClassNotFoundException
-