*
* @param serviceName the service name
* @return the service instance
*/
public JahiaService getService(String serviceName) {
JahiaService jahiaService = (JahiaService) servicesCache.get(serviceName);
if (jahiaService != null) {
return jahiaService;
}
ApplicationContext context = (ApplicationContext) SpringContextSingleton.getInstance().getContext();
if (context != null) {