Package se.jiderhamn.classloader
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 ElementDescriptionboolean
Should the packages inpackages()
be added toRedefiningClassLoader.DEFAULT_IGNORED_PACKAGES
?false
meanspackages()
will instead replace, andRedefiningClassLoader.DEFAULT_IGNORED_PACKAGES
will be redefined byRedefiningClassLoader
unless 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
?false
meanspackages()
will instead replace, andRedefiningClassLoader.DEFAULT_IGNORED_PACKAGES
will be redefined byRedefiningClassLoader
unless specified bypackages()
.- Default:
- false
-