6.1.1.1. What is the best, standardized way to get the instance of a service ?

container.getComponentInstanceOfType(ServiceName.class);
Copyright ©2012. All rights reserved. eXo Platform SAS