try {
/* block until the module has initialized */
boolean success = initializeLatch.await(AbstractCompositeComponent.DEFAULT_WAIT,
TimeUnit.MILLISECONDS);
if (!success) {
throw new ComponentInitException("Timeout waiting for context to initialize");
}
} catch (InterruptedException e) { // should not happen
}
}