code: private ArrayList<ConnectionDefinition> attachConnectionDefinitions(ConnectionDefinitions cds, String mcf,
        ClassLoader classLoader,                                                                       
        ArrayList<? extends ConfigProperty> configProperty,
        ArrayList<? extends ConfigProperty> plainConfigProperty)
        throws Exception
     {
        ArrayList<ConnectionDefinition> connectionDefinitions = null;
  
        if (cds.value() != null)
        {
           connectionDefinitions = new ArrayList<ConnectionDefinition>(cds.value().length);
           for (javax.resource.spi.ConnectionDefinition cd : cds.value())
           {
              connectionDefinitions.add(attachConnectionDefinition(mcf, cd, classLoader,
                                                                   configProperty, plainConfigProperty));
           }
        }
  
        return connectionDefinitions;
     }
docs: Attach @ConnectionDefinitions
  @param cds The connection definitions
  @param mcf The managed connection factory
  @param classLoader The class loader
  @param configProperty The config properties
  @param plainConfigProperty The lain config properties
  @return The updated metadata
  @exception Exception Thrown if an error occurs