public static ServiceAgent newServiceAgent ( Settings settings ) { ServiceAgent . Factory factory = Factories . newInstance ( settings , Keys . SA_FACTORY_KEY ) ; return factory . newServiceAgent ( settings ) ; }
Creates a new ServiceAgent with the given configuration ; the ServiceAgent must be started .