Package org.springframework.data.gemfire.support

Examples of org.springframework.data.gemfire.support.SpringContextBootstrappingInitializer.onApplicationEvent()


      assertFalse(declarable.isInitialized());
      assertFalse(doPostInitCalled.get());
      assertSame(parameters, declarable.nullSafeGetParameters());

      initializer.onApplicationEvent(new ContextRefreshedEvent(mockApplicationContext));

      assertTrue(declarable.isInitialized());
      assertTrue(doPostInitCalled.get());
      declarable.assertEquals(parameters);
      declarable.assertSame(mockBeanFactory);
View Full Code Here


      assertFalse(declarable.isInitialized());
      assertFalse(doPostInitCalled.get());
      assertNotSame(parameters, declarable.nullSafeGetParameters());

      initializer.onApplicationEvent(new ContextRefreshedEvent(mockApplicationContext));

      assertFalse(declarable.isInitialized());
      assertFalse(doPostInitCalled.get());
    }
    finally {
View Full Code Here

      assertFalse(declarable.isInitialized());
      assertFalse(doPostInitCalled.get());
    }
    finally {
      initializer.onApplicationEvent(new ContextClosedEvent(mockApplicationContext));
    }
  }

  protected static class TestLazyWiringDeclarableSupport extends LazyWiringDeclarableSupport {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.