Spring Framwork Testing v5.3.36 SNAPSHOT5.4. Application Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.5.5. Test Execution Events . . . . . . . . TestContext Framework to record all application events that are published in the ApplicationContext during the execution of a single test. The recorded events can be accessed via the ApplicationEvents API API within tests. See Application Events and the @RecordApplicationEvents javadoc for an example and further details. @Commit @Commit indicates that the transaction for a transactional test method should0 码力 | 193 页 | 2.53 MB | 1 年前3
 Spring Boot 1.0.3.BUILD-SNAPSHOT Reference DocumentationBoot features 20. SpringApplication Customizing SpringApplication Fluent builder API Application events and listeners Web environment Using the CommandLineRunner Application exit 21. Externalized Configuration Application events and listeners In addition to the usual Spring Framework events, such as ContextRefreshedEvent, a SpringApplication sends some additional application events. Some events are actually a number of ways, the most common being SpringApplication.addListeners(...) method. Application events are sent in the following order, as your application runs: 1. An ApplicationStartedEvent is sent0 码力 | 268 页 | 262.21 KB | 1 年前3
 Spring Boot 1.0.3.BUILD-SNAPSHOT Reference Documentation ........................................................................... 39 20.3. Application events and listeners ........................................................................ 39 20.4. Application events and listeners In addition to the usual Spring Framework events, such as ContextRefreshedEvent, a SpringApplication sends some additional application events. Some events are actually number of ways, the most common being SpringApplication.addListeners(...) method. Application events are sent in the following order, as your application runs: 1. An ApplicationStartedEvent is sent0 码力 | 158 页 | 847.06 KB | 1 年前3
 Spring Boot 1.1.7.RELEASE Reference GuideSpringApplication Customizing the Banner Customizing SpringApplication Fluent builder API Application events and listeners Web environment Using the CommandLineRunner Application exit 21. Externalized Configuration Application events and listeners In addition to the usual Spring Framework events, such as ContextRefreshedEvent, a SpringApplication sends some additional application events. Some events are actually a number of ways, the most common being SpringApplication.addListeners(...) method. Application events are sent in the following order, as your application runs: 1. An ApplicationStartedEvent is sent0 码力 | 323 页 | 302.48 KB | 1 年前3
 Spring Boot 1.1.7.RELEASE Reference Guide........................................................................... 39 20.4. Application events and listeners ........................................................................ 39 20.5. Application events and listeners In addition to the usual Spring Framework events, such as ContextRefreshedEvent, a SpringApplication sends some additional application events. Some events are actually number of ways, the most common being SpringApplication.addListeners(...) method. Application events are sent in the following order, as your application runs: 1. An ApplicationStartedEvent is sent0 码力 | 192 页 | 1017.81 KB | 1 年前3
 Spring Boot 0.0.9.M1 Reference GuideSpringApplication Customizing the Banner Customizing SpringApplication Fluent builder API Application events and listeners Web environment Using the CommandLineRunner Application exit 21. Externalized Configuration Application events and listeners In addition to the usual Spring Framework events, such as ContextRefreshedEvent, a SpringApplication sends some additional application events. Some events are actually a number of ways, the most common being SpringApplication.addListeners(...) method. Application events are sent in the following order, as your application runs: 1. An ApplicationStartedEvent is sent0 码力 | 323 页 | 301.58 KB | 1 年前3
 Spring Boot 0.0.9.M1 Reference Guide........................................................................... 39 20.4. Application events and listeners ........................................................................ 39 20.5. Application events and listeners In addition to the usual Spring Framework events, such as ContextRefreshedEvent, a SpringApplication sends some additional application events. Some events are actually number of ways, the most common being SpringApplication.addListeners(...) method. Application events are sent in the following order, as your application runs: 1. An ApplicationStartedEvent is sent0 码力 | 188 页 | 1007.46 KB | 1 年前3
 Spring Boot 0.0.x Reference Guide........................................................................... 39 20.4. Application events and listeners ........................................................................ 39 20.5. Application events and listeners In addition to the usual Spring Framework events, such as ContextRefreshedEvent, a SpringApplication sends some additional application events. Some events are actually number of ways, the most common being SpringApplication.addListeners(...) method. Application events are sent in the following order, as your application runs: 1. An ApplicationStartedEvent is sent0 码力 | 188 页 | 1008.51 KB | 1 年前3
 Spring Boot 0.0.x Reference GuideSpringApplication Customizing the Banner Customizing SpringApplication Fluent builder API Application events and listeners Web environment Using the CommandLineRunner Application exit 21. Externalized Configuration Application events and listeners In addition to the usual Spring Framework events, such as ContextRefreshedEvent, a SpringApplication sends some additional application events. Some events are actually a number of ways, the most common being SpringApplication.addListeners(...) method. Application events are sent in the following order, as your application runs: 1. An ApplicationStartedEvent is sent0 码力 | 322 页 | 301.63 KB | 1 年前3
 Spring Boot 1.1.6.RELEASE Reference GuideSpringApplication Customizing the Banner Customizing SpringApplication Fluent builder API Application events and listeners Web environment Using the CommandLineRunner Application exit 21. Externalized Configuration Application events and listeners In addition to the usual Spring Framework events, such as ContextRefreshedEvent, a SpringApplication sends some additional application events. Some events are actually a number of ways, the most common being SpringApplication.addListeners(...) method. Application events are sent in the following order, as your application runs: 1. An ApplicationStartedEvent is sent0 码力 | 321 页 | 300.93 KB | 1 年前3
共 263 条
- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 27
 













