On 18.05.11 20:55, "davidjgonzalez" <[email protected]> wrote: >http://pastie.org/1923026
> new RepoTest().isNull() SCR handled components are created by the framework, you can't use a normal constructor. To get it, either reference from another component (such as a servlet for example) using @Reference / @scr.reference, or use sling.getService() in JSPs for example. But that depends on the context - if it's a true background service (you are using immediate=true, indicating that), it might just run for itself. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel
