if (callable == null || unit == null) {
throw new NullPointerException();
}
if (delay < 0) delay = 0;
Date triggerTime = new Date(System.currentTimeMillis() + unit.toMillis(delay));
ManagedTaskListenerSupport listenerSupport = getManagedTaskListenerSupport(listener);
ManagedContext managedContext = getManagedContext();
ScheduledFutureTask<V> t = new ScheduledFutureTask<V>(callable,
managedContext,
listenerSupport,
triggerTime);