code: @Override
      public void bind(TransactionResource resource)
      {
          if (resource != null && resource instanceof Neo4JTransaction)
          {
              ((Neo4JTransaction) resource).setGraphDb(factory.getConnection());
              this.resource = resource;
          }
          else
          {
              throw new KunderaTransactionException("Invalid transaction resource provided:" + resource
                      + " Should have been an instance of :" + Neo4JTransaction.class);
          }
      }
docs: Binds Transaction resource to this client.
  
  @param resource
  the resource