Class SpringBootDependencyInjectionTestExecutionListener

java.lang.Object
org.springframework.test.context.support.AbstractTestExecutionListener
org.springframework.test.context.support.DependencyInjectionTestExecutionListener
org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
All Implemented Interfaces:
org.springframework.core.Ordered, org.springframework.test.context.TestExecutionListener

@Deprecated(since="3.0.0", forRemoval=true) public class SpringBootDependencyInjectionTestExecutionListener extends org.springframework.test.context.support.DependencyInjectionTestExecutionListener
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.0.0 for removal in 3.2.0 in favor of ApplicationContextFailureProcessor
Since 3.0.0 this class has been replaced by ConditionReportApplicationContextFailureProcessor and is not used internally.
Since:
1.4.1
  • Field Summary

    Fields inherited from class org.springframework.test.context.support.DependencyInjectionTestExecutionListener

    REINJECT_DEPENDENCIES_ATTRIBUTE

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    prepareTestInstance(org.springframework.test.context.TestContext testContext)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class org.springframework.test.context.support.DependencyInjectionTestExecutionListener

    beforeTestMethod, getOrder, injectDependencies

    Methods inherited from class org.springframework.test.context.support.AbstractTestExecutionListener

    afterTestClass, afterTestExecution, afterTestMethod, beforeTestClass, beforeTestExecution

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpringBootDependencyInjectionTestExecutionListener

      public SpringBootDependencyInjectionTestExecutionListener()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • prepareTestInstance

      public void prepareTestInstance(org.springframework.test.context.TestContext testContext) throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      prepareTestInstance in interface org.springframework.test.context.TestExecutionListener
      Overrides:
      prepareTestInstance in class org.springframework.test.context.support.DependencyInjectionTestExecutionListener
      Throws:
      Exception