课程表

Spring Boot课程

工具箱
速查手册

Boot 配置属性之其他

当前位置:免费教程 » Java相关 » Spring Boot

一、aop

  • spring.aop.auto
    是否支持@EnableAspectJAutoProxy,默认为: true

  • spring.aop.proxy-target-class
    true为使用CGLIB代理,false为JDK代理,默认为false


二、application

  • spring.application.admin.enabled
    是否启用admin特性,默认为: false

  • spring.application.admin.jmx-name
    指定admin MBean的名称,默认为: org.springframework.boot:type=Admin,name=SpringApplication


三、autoconfig

  • spring.autoconfigure.exclude
    配置要排除的Auto-configuration classes.


四、batch

  • spring.batch.initializer.enabled
    是否在必要时创建batch表,默认为true

  • spring.batch.job.enabled
    是否在启动时开启batch job,默认为true

  • spring.batch.job.names
    指定启动时要执行的job的名称,逗号分隔,默认所有job都会被执行

  • spring.batch.schema
    指定要初始化的sql语句路径,默认:classpath:org/springframework/batch/core/schema-@@platform@@.sql)

  • spring.batch.table-prefix
    指定批量处理的表的前缀.


五、jmx

  • spring.jmx.default-domain
    指定JMX domain name.

  • spring.jmx.enabled
    是否暴露jmx,默认为true

  • spring.jmx.server
    指定MBeanServer bean name. 默认为: mbeanServer)


六、mail

  • spring.mail.default-encoding
    指定默认MimeMessage的编码,默认为: UTF-8

  • spring.mail.host
    指定SMTP server host.

  • spring.mail.jndi-name
    指定mail的jndi名称

  • spring.mail.password
    指定SMTP server登陆密码.

  • spring.mail.port
    指定SMTP server port.

  • spring.mail.properties
    指定JavaMail session属性.

  • spring.mail.protocol
    指定SMTP server使用的协议,默认为: smtp

  • spring.mail.test-connection
    指定是否在启动时测试邮件服务器连接,默认为false

  • spring.mail.username
    指定SMTP server的用户名.


七、sendgrid

  • spring.sendgrid.password
    指定SendGrid password.

  • spring.sendgrid.proxy.host
    指定SendGrid proxy host.

  • spring.sendgrid.proxy.port
    指定SendGrid proxy port.

  • spring.sendgrid.username
    指定SendGrid username.


八、social

  • spring.social.auto-connection-views
    是否开启连接状态的视图,默认为false

  • spring.social.facebook.app-id
    指定应用id

  • spring.social.facebook.app-secret
    指定应用密码

  • spring.social.linkedin.app-id
    指定应用id

  • spring.social.linkedin.app-secret
    指定应用密码

  • spring.social.twitter.app-id
    指定应用ID.

  • spring.social.twitter.app-secret
    指定应用密码


转载本站内容时,请务必注明来自W3xue,违者必究。
 友情链接:直通硅谷  点职佳  北美留学生论坛

本站QQ群:前端 618073944 | Java 606181507 | Python 626812652 | C/C++ 612253063 | 微信 634508462 | 苹果 692586424 | C#/.net 182808419 | PHP 305140648 | 运维 608723728

W3xue 的所有内容仅供测试,对任何法律问题及风险不承担任何责任。通过使用本站内容随之而来的风险与本站无关。
关于我们  |  意见建议  |  捐助我们  |  报错有奖  |  广告合作、友情链接(目前9元/月)请联系QQ:27243702 沸活量
皖ICP备17017327号-2 皖公网安备34020702000426号