Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Unable to find HtmlLibraryManager interface implementation in AEM 6.3 UberJar

Avatar

Level 2

Hi All,

While looking into how clientlib are rendered as script tags for JS clientlibs, I could narrow down the search to "/libs/granite/sightly/templates/ClientLibUseObject.java" file in which HtmlLibraryManger's writeIncludes methods have been used.

But i was not able to find the implementation of  com.adobe.granite.ui.clientlibs.HtmlLibraryManager (htmlLibraryManager.writeJsInclude(request, out, categories)) in UberJar 6.3.0 to actually figure out how scripts are added to HTML.


Could some one let me know where I can find the code.


1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

There is no offical way (for any non-Adobe person) to see the source code of the implementation classes.

Jörg

View solution in original post

3 Replies

Avatar

Employee Advisor

The implementation classes are not available via the uber.jar, but only the interfaces.

Jörg

Avatar

Level 2

Hi Jörg,

Is there a way i can get the interfaces as well.

How can i get to see the code involved in htmlLibraryManager.writeJsInclude(request, out, categories)

Avatar

Correct answer by
Employee Advisor

There is no offical way (for any non-Adobe person) to see the source code of the implementation classes.

Jörg