JCAConnector connector = new JCAConnector();
connector.setBootstrapContext(getBootstrapContext());
connector.setActivationSpec(ac);
connector.setResourceAdapter(resourceAdapter);
connector.setEndpointFactory(new SingletonEndpointFactory(this, getTransactionManager()));
connector.afterPropertiesSet();
connectorMap.put(componentName, connector);
} else if (event.getStatus() == ComponentPacketEvent.DEACTIVATED){
JCAConnector connector = (JCAConnector) connectorMap.remove(componentName);
if (connector != null){
connector.destroy();