Annotation Type PackagesLoadedOutsideClassLoader
Annotation that defines what packages packages to be ignored by
RedefiningClassLoader, so that they will
be loaded by the parent/system ClassLoader-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionString[]Packages to be ignored byRedefiningClassLoader, on the form "foo.bar." (note the ending dot!) -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanShould the packages inpackages()be added toRedefiningClassLoader.DEFAULT_IGNORED_PACKAGES?falsemeanspackages()will instead replace, andRedefiningClassLoader.DEFAULT_IGNORED_PACKAGESwill be redefined byRedefiningClassLoaderunless specified bypackages().
-
Element Details
-
packages
String[] packagesPackages to be ignored byRedefiningClassLoader, on the form "foo.bar." (note the ending dot!) -
addToDefaults
boolean addToDefaultsShould the packages inpackages()be added toRedefiningClassLoader.DEFAULT_IGNORED_PACKAGES?falsemeanspackages()will instead replace, andRedefiningClassLoader.DEFAULT_IGNORED_PACKAGESwill be redefined byRedefiningClassLoaderunless specified bypackages().- Default:
false
-