@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface PrivilegedExport
ClassLoader
isolation.
This annotation's usage is optional. This annotation's purpose is to allow access to classes that are not part of the public
extension's API in border cases. Using this annotation should not be something usual. When needed, this annotation should be
placed on the same class that is annotated with Extension
The referenced packages will be visible only by the listed artifacts.USE WITH CARE, negligent use of this annotation could result in class path issues when exported classes conflict with those in the runtime or other extensions consuming the referenced packages.
public abstract String[] packages
public abstract String[] artifacts
Copyright © 2018. All rights reserved.