code: @Override
      public void bind(TransactionResource resource)
      {
          // Not checking for type of TransactionRes
          if (resource != null && resource instanceof RedisTransaction)
          {
              this.resource = resource;
          }
          else
          {
              throw new KunderaTransactionException("Invalid transaction resource provided:" + resource
                      + " Should have been an instance of :" + RedisTransaction.class);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.impetus.kundera.persistence.TransactionBinder#bind(com.impetus.kundera
  .persistence.TransactionResource)