Interface Use
-
- All Known Implementing Classes:
AllowedComponentList,ComponentHelper,HApiUse,LoginPath,OffercardPropertiesProvider,OfferproxyPropertiesProvider,ResponsiveGrid,TemplatedContainer,TypesCollectionView,TypeView,WCMUsePojo
@ConsumerType public interface Use
TheUseinterface can be implemented by Java objects which are instantiated as part of processingdata-sly-useattributes.- See Also:
- HTL Block Statements - Use
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit(javax.script.Bindings bindings)Called to initialize the Java object with the current Java Scripting API bindings.
-
-
-
Method Detail
-
init
void init(javax.script.Bindings bindings)
Called to initialize the Java object with the current Java Scripting API bindings.
This method is called only if the object has been instantiated by HTL as part of processing the
data-sly-useattribute. The Java Scripting API bindings provide all the global variables known to a script being executed.- Parameters:
bindings- The Java Scripting API bindings.
-
-