java.lang.Object | ||
↳ | java.lang.ClassLoader | |
↳ | org.springframework.core.DecoratingClassLoader |
Known Direct Subclasses |
Known Indirect Subclasses |
Base class for decorating ClassLoaders such as OverridingClassLoader
and ShadowingClassLoader
,
providing common handling of excluded packages and classes.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new DecoratingClassLoader with no parent ClassLoader.
| |||||||||||
Create a new DecoratingClassLoader using the given parent ClassLoader
for delegation.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a class name to exclude from decoration (e.g.
| |||||||||||
Add a package name to exclude from decoration (e.g.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determine whether the specified class is excluded from decoration
by this class loader.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.ClassLoader
| |||||||||||
From class
java.lang.Object
|
Create a new DecoratingClassLoader with no parent ClassLoader.
Create a new DecoratingClassLoader using the given parent ClassLoader for delegation.
Add a class name to exclude from decoration (e.g. overriding).
Any class name registered here will be handled by the parent ClassLoader in the usual fashion.
className | the class name to exclude |
---|
Add a package name to exclude from decoration (e.g. overriding).
Any class whose fully-qualified name starts with the name registered here will be handled by the parent ClassLoader in the usual fashion.
packageName | the package name to exclude |
---|
Determine whether the specified class is excluded from decoration by this class loader.
The default implementation checks against excluded packages and classes.
className | the class name to check |
---|