Package org.springframework.data.cassandra.config

Examples of org.springframework.data.cassandra.config.CassandraSessionFactoryBean


  }

  @Bean
  public CassandraSessionFactoryBean session() throws Exception {

    CassandraSessionFactoryBean bean = new CassandraSessionFactoryBean();

    bean.setCluster(cluster().getObject());
    bean.setConverter(cassandraConverter());
    bean.setSchemaAction(getSchemaAction());
    bean.setKeyspaceName(getKeyspaceName());
    bean.setStartupScripts(getStartupScripts());
    bean.setShutdownScripts(getShutdownScripts());

    return bean;
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.cassandra.config.CassandraSessionFactoryBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.