Deprecated
This class has been deprecated with no replacement, because serialization can be a security liability
ClassResolver instances.
Security: serialization can be a security liability, and should not be used without defining a list of classes that are allowed to be desirialized. Such a list can be specified with the jdk.serialFilter system property, for instance. See the serialization filtering article for more information.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ClassResolver | Returns: new instance of class resolver- specific classLoader to use, or null if you want to revert to default classLoader)
Deprecated
as a consequence of
cache disabled
ClassResolver being deprecated.
|
| pack-priv static ClassLoader | |
| public static ClassResolver | Returns: new instance of class resolver- specific classLoader to use, or null if you want to revert to default classLoader)
Deprecated
as a consequence of
aggressive concurrent cache
good for shared cache, when we're not worried about class unloading
ClassResolver being deprecated.
|
| public static ClassResolver | Returns: new instance of class resolver- specific classLoader to use, or null if you want to revert to default classLoader)
Deprecated
as a consequence of
aggressive non-concurrent cache
good for non-shared cache, when we're not worried about class unloading
ClassResolver being deprecated.
|
| public static ClassResolver | Returns: new instance of class resolver- specific classLoader to use, or null if you want to revert to default classLoader)
Deprecated
as a consequence of
non-aggressive concurrent cache
good for shared cache, when we're worried about class unloading
ClassResolver being deprecated.
|
| public static ClassResolver | Returns: new instance of class resolver- specific classLoader to use, or null if you want to revert to default classLoader)
Deprecated
as a consequence of
non-aggressive non-concurrent cache
good for non-shared default cache
ClassResolver being deprecated.
|
| ClassResolvers | back to summary |
|---|---|
| private ClassResolvers() | |
| cacheDisabled | back to summary |
|---|---|
| public static ClassResolver cacheDisabled(ClassLoader classLoader)
Deprecated as a consequence of cache disabled
| |
| defaultClassLoader | back to summary |
|---|---|
| pack-priv static ClassLoader defaultClassLoader(ClassLoader classLoader) | |
| softCachingConcurrentResolver | back to summary |
|---|---|
| public static ClassResolver softCachingConcurrentResolver(ClassLoader classLoader)
Deprecated as a consequence of aggressive concurrent cache good for shared cache, when we're not worried about class unloading
| |
| softCachingResolver | back to summary |
|---|---|
| public static ClassResolver softCachingResolver(ClassLoader classLoader)
Deprecated as a consequence of aggressive non-concurrent cache good for non-shared cache, when we're not worried about class unloading
| |
| weakCachingConcurrentResolver | back to summary |
|---|---|
| public static ClassResolver weakCachingConcurrentResolver(ClassLoader classLoader)
Deprecated as a consequence of non-aggressive concurrent cache good for shared cache, when we're worried about class unloading
| |
| weakCachingResolver | back to summary |
|---|---|
| public static ClassResolver weakCachingResolver(ClassLoader classLoader)
Deprecated as a consequence of non-aggressive non-concurrent cache good for non-shared default cache
| |