public interface Use
Use interface can be implemented by Java objects
which are instantiated as part of processing data-sly-use
attributes.| Modifier and Type | Method and Description |
|---|---|
void |
init(javax.script.Bindings bindings)
Called to initialize the Java object with the current Java Scripting
API bindings.
|
void init(javax.script.Bindings bindings)
This method is called only if the object has been instantiated by
Sightly as part of processing the data-sly-use attribute.
The Java Scripting API bindings provide all the global variables known to a script being executed. Consider these bindings of a map from variable name to the variable's value.
bindings - The Java Scripting API bindings."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"