@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface PackagesLoadedOutsideClassLoader
RedefiningClassLoader, so that they will
be loaded by the parent/system ClassLoader| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
packages
Packages to be ignored by
RedefiningClassLoader, on the form "foo.bar." (note the ending dot!) |
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
addToDefaults
Should the packages in
packages() be added to RedefiningClassLoader.DEFAULT_IGNORED_PACKAGES?
false means packages() will instead replace, and RedefiningClassLoader.DEFAULT_IGNORED_PACKAGES
will be redefined by RedefiningClassLoader unless specified by packages(). |
public abstract java.lang.String[] packages
RedefiningClassLoader, on the form "foo.bar." (note the ending dot!)public abstract boolean addToDefaults
packages() be added to RedefiningClassLoader.DEFAULT_IGNORED_PACKAGES?
false means packages() will instead replace, and RedefiningClassLoader.DEFAULT_IGNORED_PACKAGES
will be redefined by RedefiningClassLoader unless specified by packages().