code: public String createIdentifier(String raClz, Collection<ConfigProperty> configProperties,
           String bootstrapContextName)
     {
        if (defaultBootstrapContext == null)
           throw new IllegalArgumentException("No default BootstrapContext defined");
  
        StringBuffer sb = new StringBuffer();
  
        sb.append(raClz);
  
        if (configProperties != null && configProperties.size() > 0)
        {
           sb.append(";");
  
           Iterator<ConfigProperty> iterator = configProperties.iterator();
           while (iterator.hasNext())
           {
              ConfigProperty entry = iterator.next();
              sb.append(entry.getConfigPropertyName()).append("=").append(entry.getConfigPropertyValue());
  
              if (iterator.hasNext())
                 sb.append(":");
           }
        }
  
        sb.append("-");
        if (bootstrapContextName != null && !bootstrapContextName.trim().equals(""))
        {
           sb.append(bootstrapContextName);
        }
        else
        {
           sb.append(defaultBootstrapContext.getName());
        }
  
        return sb.toString();
     }
docs: Create an identifier
  @param raClz The resource adapter class name
  @param configProperties The config properties
  @param bootstrapContextName The name of the bootstrap context
  @return The id