@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface Export
ClassLoader
isolation.
This annotation's usage is optional. By default, the SDK
will determine at compile time which are the minimum set
of classes and resources that the extension needs to expose
in order to function. This annotation's purpose is to allow
adding additional artifacts 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 classes and resources will be visible by the runtime and other extensions. 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 types.
Copyright © 2018. All rights reserved.