* @throws ExecutionException if the configure method throws an exception.
*/
public static void configure(Object object) throws ExecutionException {
try {
if (Configurable.class.isInstance(object)) {
Configurable configurable = (Configurable) object;
configurable.configure();
}
} catch (Exception e) {
throw new ExecutionException("Exception while configuring object: " + e.getMessage(), e);
}
}