207208209210211212213214215216
Object object = NameRegistrar.get(THREAD_POOL_EXECUTOR__QBEAN_PREFIX + name); if (object instanceof ThreadPoolExecutor) { res = (ThreadPoolExecutor) object; } else { throw new NotFoundException(name); } return res; }
232233234235236237238239240241
+ name); if (clazz.isAssignableFrom(object.getClass())) { res = (T) object; } else { throw new NotFoundException(name); } return res; }