Refer to these articles.Creating Workflow Models Adobe Experience Manager Help | Using Adobe Experience Manager Workflows Developing and Extending Workflows
javax.inject is for dependency injection. whatever dependencies that you download, you can inject and use via import-package.consider the example of sling models , check a sample sling model and see the use of javax.inject
This should work.____________________________________________________________________________________________________import org.osgi.service.metatype.annotations.AttributeDefinition;import org.osgi.service.metatype.annotations.ObjectClassDefinition;@ObjectClassDefinition(name = "My Service Configura...
When we overlay /libs/dam/gui/coral/components/admin/contentrenderer/card/asset/asset.jspit means you are creating the same folder structure under /apps/apps/dam/gui/coral/components/admin/contentrenderer/card/asset/asset.jspso whatever changes you are making to asset.jsp should reflect after you up...
Hope your overlayed file is getting deployed when you are building it. Do you see the changes in file after build ?if not then you will be required to update the filter.xml by adding the /apps/dam/gui... path./apps/src/main/content\META-INF\vault\filter.xmlAdd this entry <filter root="/apps/dam/gui...
In your service class MySimpleService check the @component annotation:@Component(service = MySimpleService.class, immediate = true)Go to http://localhost:4502/system/console/components and search for MySimpleService . Check the status of the service.
you can generate a report of the published assets which should give you list of used assets.http://localhost:4502/mnt/overlay/dam/gui/content/reports/reportlist.html