- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
for (int i = 0; i < 100 && components.isEmpty(); i++) {
try {
Thread.sleep(1000);
} catch (InterruptedException ie) {
/* shouldn't happen */
}
components = parent.getChildrenByObjType(type);
LOG.debug("Iteration " + i +"components = " + components);
}
if (components.isEmpty()) {
throw new RuntimeException(COMPONENT_NOT_FOUND);
}
alexinzaz 12.02.2015 12:18 # 0
kegdan 12.02.2015 15:24 # 0
mamoy klianus