org.springframework.cloud.dataflow.configuration.metadata

## Class BootClassLoaderFactory

- java.lang.Object
- - org.springframework.cloud.dataflow.configuration.metadata.BootClassLoaderFactory

-     public class BootClassLoaderFactory
      extends Object

  Strategy interface for creating a ClassLoader that mimics the one used when a boot uber-jar runs.
  Author:
    Eric Bottard

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BootClassLoaderFactory(org.springframework.boot.loader.archive.Archive archive, ClassLoader parent)` Create a new factory for dealing with the given boot uberjar archive.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `URLClassLoader` | `createClassLoader()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BootClassLoaderFactory

          public BootClassLoaderFactory(org.springframework.boot.loader.archive.Archive archive,
                                        ClassLoader parent)

      Create a new factory for dealing with the given boot uberjar archive.
      Parameters:
        `archive` - a boot uberjar Archive
        `parent` - the parent classloader to set for new created ClassLoaders

  - ### Method Detail

    - #### createClassLoader

          public URLClassLoader createClassLoader()

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.