code: private void applyConnectionManagerConfiguration(ConnectionManagerConfiguration cmc,
        org.ironjacamar.common.api.metadata.resourceadapter.ConnectionDefinition cd)
     {
        if (cd.getJndiName() != null)
           cmc.setJndiName(cd.getJndiName());
  
        if (cd.isSharable() != null)
           cmc.setSharable(cd.isSharable());
  
        if (cd.isEnlistment() != null)
           cmc.setEnlistment(cd.isEnlistment());
  
        if (cd.isConnectable() != null)
           cmc.setConnectable(cd.isConnectable());
  
        if (cd.isTracking() != null)
           cmc.setTracking(cd.isTracking());
     }
docs: Apply connection definition to connection manager configuration
  @param cmc The connection manager configuration
  @param cd The connection definition definition