### 39. 开启production-ready特性 [spring-boot-actuator](http://github.com/spring-projects/spring-boot/tree/master/spring-boot-actuator)模块提供了Spring Boot所有的production-ready特性。启用该特性的最简单方式就是添加对spring-boot-starter-actuator ‘Starter POM’的依赖。 **执行器(Actuator)的定义**:执行器是一个制造业术语,指的是用于移动或控制东西的一个机械装置。一个很小的改变就能让执行器产生大量的运动。 基于Maven的项目想要添加执行器只需添加下面的'starter'依赖: ```xml org.springframework.boot spring-boot-starter-actuator ``` 对于Gradle,使用下面的声明: ```java dependencies { compile("org.springframework.boot:spring-boot-starter-actuator") } ```