sbt.internal.inc.classpath
Type members
Classlikes
Doesn't load any classes itself, but instead verifies that all classes loaded through parent
either come from root
or classpath
.
Doesn't load any classes itself, but instead verifies that all classes loaded through parent
either come from root
or classpath
.
Exception thrown when loaderA
and loaderB
load a different Class for the same name.
Exception thrown when loaderA
and loaderB
load a different Class for the same name.
Concatenates a
and b
into a single Enumeration
.
Concatenates a
and b
into a single Enumeration
.
A ClassLoader with two parents parentA
and parentB
. The predicates direct lookups towards one parent or the other.
A ClassLoader with two parents parentA
and parentB
. The predicates direct lookups towards one parent or the other.
If aOnlyClasses
returns true
for a class name, class lookup delegates to parentA
only.
Otherwise, if bOnlyClasses
returns true
for a class name, class lookup delegates to parentB
only.
If both aOnlyClasses
and bOnlyClasses
are false
for a given class name, both class loaders must load the same Class or
a DifferentLoaders exception is thrown.
If aOnlyResources
is true
for a resource path, lookup delegates to parentA
only.
Otherwise, if bOnlyResources
is true
for a resource path, lookup delegates to parentB
only.
If neither are true
for a resource path and either parentA
or parentB
return a valid URL, that valid URL is returned.
Excludes class names that begin with one of the packages in exclude
.
Each package name in packages
must end with a .
Excludes class names that begin with one of the packages in exclude
.
Each package name in packages
must end with a .
Delegates class loading to parent
for all classes included by filter
. An attempt to load classes excluded by filter
results in a ClassNotFoundException
.
Delegates class loading to parent
for all classes included by filter
. An attempt to load classes excluded by filter
results in a ClassNotFoundException
.
A ClassLoader that looks up resource requests in a Map
prior to the base ClassLoader's resource lookups.
A ClassLoader that looks up resource requests in a Map
prior to the base ClassLoader's resource lookups.
Includes class names that begin with one of the packages in include
.
Each package name in include
must end with a .
Includes class names that begin with one of the packages in include
.
Each package name in include
must end with a .
This is a starting point for defining a custom ClassLoader. Override 'doLoadClass' to define loading a class that has not yet been loaded.
This is a starting point for defining a custom ClassLoader. Override 'doLoadClass' to define loading a class that has not yet been loaded.
Configures a NativeCopyLoader.
The loader will provide native libraries listed in explicitLibraries
and on searchPaths
by copying them to tempDirectory
.
If tempDirectory
is 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.
Configures a NativeCopyLoader.
The loader will provide native libraries listed in explicitLibraries
and on searchPaths
by copying them to tempDirectory
.
If tempDirectory
is 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.
Loads native libraries from a temporary location in order to work around the jvm native library uniqueness restriction. See NativeCopyConfig for configuration details.
Loads native libraries from a temporary location in order to work around the jvm native library uniqueness restriction. See NativeCopyConfig for configuration details.
A class loader that always fails to load classes and resources.
A class loader that always fails to load classes and resources.
A ClassLoader that looks up resource requests in a Map
prior to the base ClassLoader's resource lookups.
A ClassLoader that looks up resource requests in a Map
prior to the base ClassLoader's resource lookups.
Searches self first before delegating to the parent.
Searches self first before delegating to the parent.