Package org.springframework.data.gemfire.support.sample

Examples of org.springframework.data.gemfire.support.sample.TestUserDao


    assertTrue(applicationContext.containsBean("userDataSource"));
    assertTrue(applicationContext.containsBean("userDao"));
    assertTrue(applicationContext.containsBean("userService"));

    DataSource userDataSource = applicationContext.getBean("userDataSource", DataSource.class);
    TestUserDao userDao = applicationContext.getBean("userDao", TestUserDao.class);
    TestUserService userService = applicationContext.getBean("userService", TestUserService.class);

    assertSame(userDataSource, userDao.getDataSource());
    assertSame(userDao, userService.getUserDao());

    // NOTE a GemFire declared component initialized by Spring!
    UserDataStoreCacheLoader usersCacheLoader = UserDataStoreCacheLoader.getInstance();
View Full Code Here

TOP

Related Classes of org.springframework.data.gemfire.support.sample.TestUserDao

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.