Class ChildFirstClassLoader

All Implemented Interfaces:
Closeable, AutoCloseable

public class ChildFirstClassLoader extends URLClassLoader
A URLClassLoader which searches in its own classloader context before delegating it to the parent classloader. This is useful for giving preferences to resources in the plugin jar over Morpheus resources.