9 Replies Latest reply on Jan 29, 2013 6:23 AM by justin_at_adobe

    SlingScriptHelper object in OSGi Service

    Pawko Level 1


      I am writing OSGi Service and I would like to get all services with given class ContentBuilder.class like in the Replication dialog:

      Object[] builders = sling.getServices(ContentBuilder.class, null);


      It requires to create "sling" object of type SlingScriptHelper first.


      Unfortunately I cannot find the solution how to create such object. Does anybody know how to do this?