Class XRDynamicClassLoader

java.lang.Object
java.lang.ClassLoader
org.eclipse.persistence.dynamic.DynamicClassLoader
org.eclipse.persistence.internal.xr.XRDynamicClassLoader

public class XRDynamicClassLoader extends DynamicClassLoader

INTERNAL: XRDynamicClassLoader uses ASM to dynamically generate subclasses of XRDynamicEntity

Since:
EclipseLink 1.x
  • Field Details

  • Constructor Details

    • XRDynamicClassLoader

      public XRDynamicClassLoader(ClassLoader parentLoader)
  • Method Details

    • findClass

      protected Class<?> findClass(String className) throws ClassNotFoundException
      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 class DynamicClassLoader
      Throws:
      ClassNotFoundException
    • dontGenerateSubclasses

      public void dontGenerateSubclasses()