package classpath
- Alphabetic
- Public
- All
Type Members
- trait AbstractClassLoaderCache extends AutoCloseable
-
trait
ClassFilter extends AnyRef
Defines a filter on class names.
- final class ClassLoaderCache extends AutoCloseable
-
final
class
ClasspathFilter extends ClassLoader
Doesn't load any classes itself, but instead verifies that all classes loaded through
parenteither come fromrootorclasspath. -
class
DifferentLoaders extends ClassNotFoundException
Exception thrown when
loaderAandloaderBload a different Class for the same name. -
final
class
DualEnumeration[T] extends Enumeration[T]
Concatenates
aandbinto a singleEnumeration. -
class
DualLoader extends ClassLoader
A ClassLoader with two parents
parentAandparentB.A ClassLoader with two parents
parentAandparentB. The predicates direct lookups towards one parent or the other.If
aOnlyClassesreturnstruefor a class name, class lookup delegates toparentAonly. Otherwise, ifbOnlyClassesreturnstruefor a class name, class lookup delegates toparentBonly. If bothaOnlyClassesandbOnlyClassesarefalsefor a given class name, both class loaders must load the same Class or a DifferentLoaders exception is thrown.If
aOnlyResourcesistruefor a resource path, lookup delegates toparentAonly. Otherwise, ifbOnlyResourcesistruefor a resource path, lookup delegates toparentBonly. If neither aretruefor a resource path and eitherparentAorparentBreturn a valid URL, that valid URL is returned. -
final
class
ExcludePackagesFilter extends PackageFilter
Excludes class names that begin with one of the packages in
exclude.Excludes class names that begin with one of the packages in
exclude. Each package name inpackagesmust end with a. -
final
class
FilteredLoader extends ClassLoader
Delegates class loading to
parentfor all classes included byfilter.Delegates class loading to
parentfor all classes included byfilter. An attempt to load classes excluded byfilterresults in aClassNotFoundException. -
trait
FixedResources extends ClassLoader
A ClassLoader that looks up resource requests in a
Mapprior to the base ClassLoader's resource lookups. -
final
class
IncludePackagesFilter extends PackageFilter
Includes class names that begin with one of the packages in
include.Includes class names that begin with one of the packages in
include. Each package name inincludemust end with a. -
abstract
class
LoaderBase extends URLClassLoader
This is a starting point for defining a custom ClassLoader.
This is a starting point for defining a custom ClassLoader. Override 'doLoadClass' to define loading a class that has not yet been loaded.
-
final
class
NativeCopyConfig extends AnyRef
Configures a NativeCopyLoader.
Configures a NativeCopyLoader. The loader will provide native libraries listed in
explicitLibrariesand onsearchPathsby copying them totempDirectory. IftempDirectoryis unique to the class loader, this ensures that the class loader gets a unique path for the native library and avoids the restriction on a native library being loaded by a single class loader. -
trait
NativeCopyLoader extends ClassLoader
Loads native libraries from a temporary location in order to work around the jvm native library uniqueness restriction.
Loads native libraries from a temporary location in order to work around the jvm native library uniqueness restriction. See NativeCopyConfig for configuration details.
-
final
class
NullLoader extends ClassLoader
A class loader that always fails to load classes and resources.
- abstract class PackageFilter extends ClassFilter
-
trait
RawResources extends ClassLoader with FixedResources
A ClassLoader that looks up resource requests in a
Mapprior to the base ClassLoader's resource lookups. -
final
class
SelfFirstLoader extends LoaderBase
Searches self first before delegating to the parent.
Value Members
- object ClasspathUtilities
- object RawURL