Class Constructor

java.lang.Object
Direct Known Subclasses:
CompactConstructor, CustomClassLoaderConstructor

public class Constructor
extends SafeConstructor
Construct a custom Java instance.
  • Constructor Details

    • Constructor

      public Constructor()
    • Constructor

      public Constructor​(LoaderOptions loadingConfig)
    • Constructor

      public Constructor​(java.lang.Class<? extends java.lang.Object> theRoot)
      Create Constructor for the specified class as the root.
      Parameters:
      theRoot - - the class (usually JavaBean) to be constructed
    • Constructor

      public Constructor​(java.lang.Class<? extends java.lang.Object> theRoot, LoaderOptions loadingConfig)
    • Constructor

      public Constructor​(TypeDescription theRoot)
    • Constructor

      public Constructor​(TypeDescription theRoot, LoaderOptions loadingConfig)
    • Constructor

      public Constructor​(TypeDescription theRoot, java.util.Collection<TypeDescription> moreTDs)
    • Constructor

      public Constructor​(TypeDescription theRoot, java.util.Collection<TypeDescription> moreTDs, LoaderOptions loadingConfig)
    • Constructor

      public Constructor​(java.lang.String theRoot) throws java.lang.ClassNotFoundException
      Create Constructor for a class which does not have to be in the classpath or for a definition from a Spring ApplicationContext.
      Parameters:
      theRoot - fully qualified class name of the root class (usually JavaBean)
      Throws:
      java.lang.ClassNotFoundException - if cannot be loaded by the classloader
    • Constructor

      public Constructor​(java.lang.String theRoot, LoaderOptions loadingConfig) throws java.lang.ClassNotFoundException
      Throws:
      java.lang.ClassNotFoundException
  • Method Details

    • getClassForNode

      protected java.lang.Class<?> getClassForNode​(Node node)
    • getClassForName

      protected java.lang.Class<?> getClassForName​(java.lang.String name) throws java.lang.ClassNotFoundException
      Throws:
      java.lang.ClassNotFoundException