if (log.isDebugEnabled()) log.debug("cannot find a valid implementation for executor <" + executorsImpl + ">, disabling it");
}
public Object submit(Job job) {
if (!isUsable())
throw new BitronixRuntimeException("concurrent executor is disabled because there is no valid executor implementation");
try {
return executorServiceSubmitMethod.invoke(executorService, new Object[] { job });
} catch (IllegalAccessException ex) {
throw new BitronixRuntimeException("error calling ExecutorService.submit(Runnable task)", ex);
} catch (InvocationTargetException ex) {
throw new BitronixRuntimeException("error calling ExecutorService.submit(Runnable task)", ex);
}
}