code: private Reference createDefinitionResourceBindingListenerReference(String refName,
                                                                         String bindingName,
                                                                         String type,
                                                                         @Sensitive Map<String, Object> properties) {
          Boolean transactional = (Boolean) properties.get("transactional");
          Map<String, Object> bindingProperties = Collections.<String, Object> singletonMap("transactional", transactional == null || transactional);
  
          ResourceBindingImpl binding = resourceBindingListenerManager.binding(refName, bindingName, type, bindingProperties);
          if (binding != null) {
              return new IndirectReference(refName, binding.getBindingName(), type, null, binding.getBindingListenerName(), false);
          }
  
          return null;
      }
docs: Attempt to create an indirect reference for a resource definition from a
  resource binding provider.
  
  @return an indirect reference object based on a binding provider, or null