org.apache.bcel.util

## Class SyntheticRepository

- java.lang.Object
- - org.apache.bcel.util.MemorySensitiveClassPathRepository
  - - org.apache.bcel.util.SyntheticRepository

- All Implemented Interfaces:
    Repository

      public class SyntheticRepository
      extends MemorySensitiveClassPathRepository

  This repository is used in situations where a Class is created outside the realm of a ClassLoader. Classes are loaded from the file systems using the paths specified in the given class path. By default, this is the value returned by ClassPath.getClassPath().
  This repository uses a factory design, allowing it to maintain a collection of different classpaths, and as such It is designed to be used as a singleton per classpath.
  Version:
    $Id$
  See Also:
    `Repository`

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SyntheticRepository` | `getInstance()`
    `static SyntheticRepository` | `getInstance(ClassPath classPath)`

    - ### Methods inherited from class org.apache.bcel.util.MemorySensitiveClassPathRepository

      `clear, findClass, getClassPath, loadClass, loadClass, removeClass, storeClass`

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

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

- - ### Method Detail

    - #### getInstance

          public static SyntheticRepository getInstance()

    - #### getInstance

          public static SyntheticRepository getInstance(ClassPath classPath)

Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.