code: private ConnectionDefinition attachConnectionDefinition(Annotation annotation,
        ClassLoader classLoader,
        ArrayList<? extends ConfigProperty> configProperty,
        ArrayList<? extends ConfigProperty> plainConfigProperty)
        throws Exception
     {
        javax.resource.spi.ConnectionDefinition cd =
           (javax.resource.spi.ConnectionDefinition) annotation.getAnnotation();
  
        if (trace)
           log.trace("Processing: " + annotation);
  
        return attachConnectionDefinition(annotation.getClassName(), cd, classLoader,
                                          configProperty, plainConfigProperty);
     }
docs: Attach @ConnectionDefinition
  @param annotation The annotation
  @param classLoader The class loader
  @param configProperty The config properties
  @param plainConfigProperty The plain config properties
  @return The updated metadata
  @exception Exception Thrown if an error occurs