js/ServiceFactory.js
function (serviceName, plugins) {
                logger.debug("Getting service: " + serviceName);
                var smd = this.config.resolver(serviceName);
                return this.getService(smd, plugins);
            }
function (serviceName, plugins) {
                logger.debug("Getting service: " + serviceName);
                var smd = this.config.resolver(serviceName);
                return this.getService(smd, plugins);
            }
function ( serviceName , plugins ) { logger . debug ( "Getting service: " + serviceName ) ; var smd = this . config . resolver ( serviceName ) ; return this . getService ( smd , plugins ) ; }
Returns an instance of a Service using its name.

@param serviceName - the string name of the service that can be resolved to an smd by the configured resolver.
@param plugins - plugins for read/write and other operations, which modify default service method behavior
@return {circuits.Service} - the realized service.
Returns an instance of a Service using its name .