787980818283848586878889909192
} } } if (service == null) { throw new ServiceNotAvailableException(); } } catch (BeansException e) { throw new ServiceNotAvailableException(e); } catch (InvalidSyntaxException e) { throw new ServiceNotAvailableException(e); } return service; }
101102103104105106107108109
futureResult=executorService.submit(callable); } } else { throw new ServiceNotAvailableException(); } return futureResult; }
525354555657585960
ServiceRegistryEntity serviceEntry= services.get(serviceInterface); if (serviceEntry!=null) { service=serviceEntry.getServiceInstance(); } else { throw new ServiceNotAvailableException(); } return service; }
78798081828384858687
throws ServiceNotAvailableException { Class sc; try { sc = Class.forName(serviceName); } catch (ClassNotFoundException e) { throw new ServiceNotAvailableException("servicename expected to be a classname when using DefaultServiceRegistry.",e); } return lookup(sc); }