@Override public ExecutorService apply(ExecutorService executor) { return JBossExecutors.protectedExecutorService(executor); }
public ManagedExecutorService(Executor executor) { this(JBossExecutors.protectedExecutorService(executor)); }
protected ExecutorService protectExecutor(ExecutorService executor) { return JBossExecutors.protectedExecutorService(executor); }
@Override public ExecutorService apply(ExecutorService executor) { return JBossExecutors.protectedExecutorService(executor); }
@Override public ExecutorService getDefaultExecutor() { Executor executor = this.defaultExecutor.getOptionalValue(); return (executor != null) ? JBossExecutors.protectedExecutorService(executor) : null; }
@Override public ExecutorService getOOBExecutor() { Executor executor = this.oobExecutor.getOptionalValue(); return (executor != null) ? JBossExecutors.protectedExecutorService(executor) : null; }