Package jakarta.portlet.annotations
Annotation Type Dependency
-
@Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface Dependency
This annotation is used within composite portlet configuration annotations to represent dependencies the portlet may have on external resources. The resources can represent client-side prerequisites such as JavaScript libraries or stylesheet resources that are shared among portlets.This annotation cannot be used as a stand-alone portlet annotation.
- Since:
- 3.0
-
-
Element Detail
-
name
String name
The resource name.- Returns:
- The resource name
-
-
-
scope
String scope
The scope name.- Returns:
- The name of the scope containing the resource
- Default:
- ""
-
-
-
version
String version
The minimum acceptable module version.- Returns:
- The minimum acceptable module version
- Default:
- ""
-
-