code: @Override
      public void initialize(Map<String, Object> puProperties)
      {
          reader = new CouchbaseEntityReader(kunderaMetadata);
          setExternalProperties(puProperties);
          initializePropertyReader();
          PersistenceUnitMetadata pum = kunderaMetadata.getApplicationMetadata()
                  .getPersistenceUnitMetadata(getPersistenceUnit());
  
          Properties pumProps = pum.getProperties();
  
          if (puProperties != null)
          {
              pumProps.putAll(puProperties);
          }
  
          String host = pumProps.getProperty("kundera.nodes");
          String keyspace = pumProps.getProperty("kundera.keyspace");
  
          if (host == null)
          {
              throw new KunderaException("Hostname/IP is null.");
          }
  
          if (keyspace == null)
          {
              throw new KunderaException("kundera.keyspace is null.");
          }
          cluster = CouchbaseCluster.create(splitHostNames(host));
          String password = ((CouchbasePropertyReader) propertyReader).csmd.getBucketProperty("bucket.password");
          bucket = CouchbaseBucketUtils.openBucket(cluster, keyspace, password);
  
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.impetus.kundera.loader.GenericClientFactory#initialize(java.util.Map)