Remove stale tip about ManagementContextConfiguration for endpoints

Closes gh-12312
This commit is contained in:
Andy Wilkinson
2018-03-05 11:19:10 +00:00
parent 2c882a47d0
commit 85900796d3

View File

@@ -507,13 +507,6 @@ Finally, if you need access to web-framework-specific functionality, you can imp
Servlet or Spring `@Controller` and `@RestController` endpoints at the cost of them not
being available over JMX or when using a different web framework.
TIP: If you add endpoints as a library feature, consider adding a configuration class
annotated with `@ManagementContextConfiguration` to `/META-INF/spring.factories` under the
following key:
`org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration`. If
you do so, and if your users ask for a separate management port or address, the endpoint
moves to a child context with all the other web endpoints.
[[production-ready-endpoints-custom-input]]