Class TestRefreshableApplicationContextLoader

java.lang.Object
org.springframework.test.context.support.AbstractContextLoader
org.springframework.geode.test.context.TestRefreshableApplicationContextLoader
All Implemented Interfaces:
org.springframework.test.context.ContextLoader, org.springframework.test.context.SmartContextLoader

public class TestRefreshableApplicationContextLoader extends org.springframework.test.context.support.AbstractContextLoader
An AbstractContextLoader from the Spring TestContext Framework used to load a RefreshableAnnotationConfigApplicationContext.
Since:
1.3.0
See Also:
  • Field Details

  • Constructor Details

    • TestRefreshableApplicationContextLoader

      public TestRefreshableApplicationContextLoader()
  • Method Details

    • processContextConfiguration

      public void processContextConfiguration(org.springframework.test.context.ContextConfigurationAttributes configAttributes)
      Specified by:
      processContextConfiguration in interface org.springframework.test.context.SmartContextLoader
      Overrides:
      processContextConfiguration in class org.springframework.test.context.support.AbstractContextLoader
    • loadContext

      public org.springframework.context.ApplicationContext loadContext(org.springframework.test.context.MergedContextConfiguration mergedConfig)
    • newApplicationContext

      protected org.springframework.context.ConfigurableApplicationContext newApplicationContext(org.springframework.test.context.MergedContextConfiguration contextConfiguration)
      Constructs a new instance of the RefreshableAnnotationConfigApplicationContext initialized from the given {TestContext @link MergedContextConfiguration merged configuration meta-data}.
      Parameters:
      contextConfiguration - MergedContextConfiguration from the TestContext used to configure and bootstrap a new RefreshableAnnotationConfigApplicationContext.
      Returns:
      a configured and bootstrapped ConfigurableApplicationContext implementation.
      See Also:
    • loadContext

      public org.springframework.context.ApplicationContext loadContext(String... locations)
    • getResourceSuffix

      protected String getResourceSuffix()
      Specified by:
      getResourceSuffix in class org.springframework.test.context.support.AbstractContextLoader