Provide an eviction pattern to get rid of classloaders for bad behaving plugins, #440 (#448)

This commit is contained in:
Guillaume Nodet
2021-08-31 11:27:18 +02:00
committed by GitHub
parent b7b55536dc
commit c95ae1d012
2 changed files with 57 additions and 1 deletions

View File

@@ -243,7 +243,11 @@ public enum Environment {
/**
* Socket family to use
*/
MVND_SOCKET_FAMILY("mvnd.socketFamily", null, "inet", OptionType.STRING, Flags.DISCRIMINATING);
MVND_SOCKET_FAMILY("mvnd.socketFamily", null, "inet", OptionType.STRING, Flags.DISCRIMINATING),
/**
* Regexp pattern that will force eviction of the plugin realms if one of its dependencies matches.
*/
MVND_PLUGIN_REALM_EVICT_PATTERN("mvnd.pluginRealmEvictPattern", null, "", OptionType.STRING, Flags.OPTIONAL);
static Properties properties;