public JcaExecutorServiceManagedConnection(JcaExecutorServiceManagedConnectionFactory mcf) {
this.mcf = mcf;
this.logwriter = null;
this.listeners = Collections.synchronizedList(new ArrayList<ConnectionEventListener>(1));
this.connection = null;
JcaExecutorServiceConnector ra = (JcaExecutorServiceConnector) mcf.getResourceAdapter();
delegate = (ExecutorService) ra.getExecutorServiceWrapper().getExecutorService();
}