public GriffonService findService(String name) { if (!name.endsWith(GriffonServiceClass.TRAILING)) name += GriffonServiceClass.TRAILING; return (GriffonService) ApplicationContextHolder.getApplicationContext().getBean(name); }
public Map<String, GriffonService> getServices() { return Collections.unmodifiableMap( ApplicationContextHolder.getApplicationContext().getBeansOfType(GriffonService.class)); }