@Retention(value=CLASS) @Target(value=TYPE) @Repeatable(value=JavaScriptResource.Group.class) public @interface JavaScriptResource
@
JavaScriptBody
annotated methods
is called, it is guaranteed the JavaScript interpreter pre-load
the content of here is specified resource. All other
@
JavaScriptBody
methods can then access objects created
by precessing this java script resource
.
The list of
use-cases includes sample use
of this annotation.Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The JavaScript file to load in before associated class can execute.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.