Package org.springframework.data.gemfire.listener

Examples of org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer$EventDispatcherAdapter


  public void testContainerSetup() throws Exception {
    GenericXmlApplicationContext applicationContext = new GenericXmlApplicationContext(
      "/org/springframework/data/gemfire/listener/container.xml");

    try {
      ContinuousQueryListenerContainer container = applicationContext.getBean(
        ContinuousQueryListenerContainer.class);

      assertNotNull(container);
      assertTrue(container.isRunning());

      // test getting container listener by bean ID
      ContinuousQueryListenerContainer container2 = applicationContext.getBean("testContainerId",
        ContinuousQueryListenerContainer.class);

      assertSame(container, container2);

      Cache cache = applicationContext.getBean("gemfireCache", Cache.class);
View Full Code Here

TOP

Related Classes of org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer$EventDispatcherAdapter

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.