ApiProxyLocalFactory factory = new ApiProxyLocalFactory();
apiProxyLocal = factory.create(modules.getLocalServerEnvironment());
setInboundServicesProperty();
apiProxyLocal.setProperties(serviceProperties);
ApiProxy.setDelegate(apiProxyLocal);
LocalModulesService localModulesService =
(LocalModulesService) apiProxyLocal.getService(LocalModulesService.PACKAGE);
localModulesService.setModulesController(modules);
installLoggingServiceHandler((DevServices) apiProxyLocal);
TimeZone currentTimeZone = null;
try {
currentTimeZone = setServerTimeZone();
backendContainer.configureAll(apiProxyLocal);