AnsweredAssumed Answered

How to get ServiceRegistry from a static method??

Question asked by eolith on Jul 14, 2009
Latest reply on Jul 15, 2009 by rogier.oudshoorn
Hello,

I need to access some foundation services (NodeService) from a static method in a Java class. How can I do it?? I can't find a way to do Spring dependency injection and access that "injected" bean from a static method.

How can I do it?? Thanks.

Outcomes