Package se.jiderhamn.classloader
Annotation Type PackagesLoadedOutsideClassLoader
-
@Retention(RUNTIME) @Target(TYPE) public @interface PackagesLoadedOutsideClassLoaderAnnotation that defines what packages packages to be ignored byRedefiningClassLoader, so that they will be loaded by the parent/systemClassLoader
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]packagesPackages to be ignored byRedefiningClassLoader, on the form "foo.bar." (note the ending dot!)
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanaddToDefaultsShould the packages inpackages()be added toRedefiningClassLoader.DEFAULT_IGNORED_PACKAGES?falsemeanspackages()will instead replace, andRedefiningClassLoader.DEFAULT_IGNORED_PACKAGESwill be redefined byRedefiningClassLoaderunless specified bypackages().
-
-
-
Element Detail
-
packages
java.lang.String[] packages
Packages to be ignored byRedefiningClassLoader, on the form "foo.bar." (note the ending dot!)
-
-
-
addToDefaults
boolean addToDefaults
Should the packages inpackages()be added toRedefiningClassLoader.DEFAULT_IGNORED_PACKAGES?falsemeanspackages()will instead replace, andRedefiningClassLoader.DEFAULT_IGNORED_PACKAGESwill be redefined byRedefiningClassLoaderunless specified bypackages().- Default:
- false
-
-