Module org.eclipse.persistence.dbws
Class XRDynamicClassLoader
java.lang.Object
java.lang.ClassLoader
org.eclipse.persistence.dynamic.DynamicClassLoader
org.eclipse.persistence.internal.xr.XRDynamicClassLoader
INTERNAL: XRDynamicClassLoader uses ASM to dynamically
generate subclasses of XRDynamicEntity
- Since:
- EclipseLink 1.x
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.persistence.dynamic.DynamicClassLoader
DynamicClassLoader.EnumInfo
-
Field Summary
Fields inherited from class org.eclipse.persistence.dynamic.DynamicClassLoader
classWriters, defaultWriter, enumInfoRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected Class
<?> Create a new dynamic class if a ClassWriter is registered for the provided className.Methods inherited from class org.eclipse.persistence.dynamic.DynamicClassLoader
addClass, addClass, addClass, addEnum, checkAssignable, createDynamicAdapter, createDynamicClass, createDynamicClass, createDynamicClass, createDynamicCollectionAdapter, createDynamicReferenceAdapter, defineDynamicClass, getClassWriter, getClassWriters, getDefaultWriter, lookup
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Field Details
-
COLLECTION_WRAPPER_SUFFIX
- See Also:
-
-
Constructor Details
-
XRDynamicClassLoader
-
-
Method Details
-
findClass
Description copied from class:DynamicClassLoader
Create a new dynamic class if a ClassWriter is registered for the provided className. This code is single threaded to ensure only one class is created for a given name and that the ClassWriter is removed afterwards.- Overrides:
findClass
in classDynamicClassLoader
- Throws:
ClassNotFoundException
-
dontGenerateSubclasses
public void dontGenerateSubclasses()
-