1 17 18 package org.apache.geronimo.connector.work.pool; 19 20 import javax.resource.spi.work.WorkException ; 21 22 import org.apache.geronimo.connector.work.WorkerContext; 23 24 import edu.emory.mathcs.backport.java.util.concurrent.Executor; 25 26 32 public class ScheduleWorkExecutor implements WorkExecutor { 33 34 public void doExecute(WorkerContext work, Executor executor) 35 throws WorkException , InterruptedException { 36 executor.execute(new NamedRunnable("A J2EE Connector", work)); 37 } 38 } 39 | Popular Tags |