 Spring Framework 1.2.2 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 269 页 | 1.41 MB | 1 年前3 Spring Framework 1.2.2 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 269 页 | 1.41 MB | 1 年前3
 Spring Framework 1.2.6 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3 Spring Framework 1.2.6 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3
 Spring Framework 1.2.x Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 289 页 | 1.50 MB | 1 年前3 Spring Framework 1.2.x Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 289 页 | 1.50 MB | 1 年前3
 Spring Framework 1.2.3 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 276 页 | 1.44 MB | 1 年前3 Spring Framework 1.2.3 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 276 页 | 1.44 MB | 1 年前3
 Spring Framework 1.2.8 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3 Spring Framework 1.2.8 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3
 Spring Framework 1.2.4 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 289 页 | 1.49 MB | 1 年前3 Spring Framework 1.2.4 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 289 页 | 1.49 MB | 1 年前3
 Spring Framework 1.2.7 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3 Spring Framework 1.2.7 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3
 Spring Framework 1.2.5 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3 Spring Framework 1.2.5 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3
 Spring Boot 1.2.0.RELEASE Reference Documentationmanagement server context path Customizing the management server port Customizing the management server address Disabling HTTP endpoints HTTP Health endpoint access restrictions 42. Monitoring and management Batch applications Execute Spring Batch jobs on startup 70. Actuator Change the HTTP port or address of the actuator endpoints Customize the ‘whitelabel’ error page 71. Security Switch off the Spring a debugger to your packaged application: $ java -Xdebug - Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n \ -jar target/myproject-0.0.1-SNAPSHOT.jar Using the Maven plugin The Spring0 码力 | 373 页 | 345.05 KB | 1 年前3 Spring Boot 1.2.0.RELEASE Reference Documentationmanagement server context path Customizing the management server port Customizing the management server address Disabling HTTP endpoints HTTP Health endpoint access restrictions 42. Monitoring and management Batch applications Execute Spring Batch jobs on startup 70. Actuator Change the HTTP port or address of the actuator endpoints Customize the ‘whitelabel’ error page 71. Security Switch off the Spring a debugger to your packaged application: $ java -Xdebug - Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n \ -jar target/myproject-0.0.1-SNAPSHOT.jar Using the Maven plugin The Spring0 码力 | 373 页 | 345.05 KB | 1 年前3
 Spring Boot 1.1.7.RELEASE Reference Guidemanagement server context path Customizing the management server port Customizing the management server address Disabling HTTP endpoints 37. Monitoring and management over JMX Customizing MBean names Disabling Batch applications Execute Spring Batch jobs on startup 65. Actuator Change the HTTP port or address of the actuator endpoints Customize the “whitelabel” error page 66. Security Switch off the Spring a debugger to your packaged application: $ java -Xdebug - Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n \ -jar target/myproject-0.0.1-SNAPSHOT.jar Using the Maven plugin The Spring0 码力 | 323 页 | 302.48 KB | 1 年前3 Spring Boot 1.1.7.RELEASE Reference Guidemanagement server context path Customizing the management server port Customizing the management server address Disabling HTTP endpoints 37. Monitoring and management over JMX Customizing MBean names Disabling Batch applications Execute Spring Batch jobs on startup 65. Actuator Change the HTTP port or address of the actuator endpoints Customize the “whitelabel” error page 66. Security Switch off the Spring a debugger to your packaged application: $ java -Xdebug - Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n \ -jar target/myproject-0.0.1-SNAPSHOT.jar Using the Maven plugin The Spring0 码力 | 323 页 | 302.48 KB | 1 年前3
共 305 条
- 1
- 2
- 3
- 4
- 5
- 6
- 31














 
 