java.lang.Object | ||||
↳ | java.lang.ClassLoader | |||
↳ | org.springframework.core.DecoratingClassLoader | |||
↳ | org.springframework.instrument.classloading.ShadowingClassLoader | |||
↳ | org.springframework.instrument.classloading.ResourceOverridingShadowingClassLoader |
Subclass of ShadowingClassLoader that overrides attempts to locate certain files.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.instrument.classloading.ShadowingClassLoader
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new ResourceOverridingShadowingClassLoader,
decorating the given ClassLoader.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Copy all overrides from the given ClassLoader.
| |||||||||||
Return the resource (if any) at the new path
on an attempt to locate a resource at the old path.
| |||||||||||
Ensure that a resource with the given path is not found.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.instrument.classloading.ShadowingClassLoader
| |||||||||||
From class
org.springframework.core.DecoratingClassLoader
| |||||||||||
From class
java.lang.ClassLoader
| |||||||||||
From class
java.lang.Object
|
Create a new ResourceOverridingShadowingClassLoader, decorating the given ClassLoader.
enclosingClassLoader | the ClassLoader to decorate |
---|
Copy all overrides from the given ClassLoader.
other | the other ClassLoader to copy from |
---|
Return the resource (if any) at the new path on an attempt to locate a resource at the old path.
oldPath | the path requested |
---|---|
newPath | the actual path to be looked up |
Ensure that a resource with the given path is not found.
oldPath | the path of the resource to hide even if it exists in the parent ClassLoader |
---|