Skip to content

Commit 99f58de

Browse files
committed
Merge pull request #47740 from mipo256
* pr/47740: Polish "Clarify Actuator's endpoint extension support" Clarify Actuator's endpoint extension support Closes gh-47740
2 parents d2a3498 + 653e575 commit 99f58de

File tree

1 file changed

+1
-0
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ For example, javadoc:org.springframework.boot.actuate.endpoint.web.annotation.We
401401

402402
You can write technology-specific extensions by using javadoc:org.springframework.boot.actuate.endpoint.web.annotation.EndpointWebExtension[format=annotation] and javadoc:org.springframework.boot.actuate.endpoint.jmx.annotation.EndpointJmxExtension[format=annotation].
403403
These annotations let you provide technology-specific operations to augment an existing endpoint.
404+
An endpoint may have at most one extension of each type.
404405

405406
Finally, if you need access to web-framework-specific functionality, you can implement servlet or Spring javadoc:org.springframework.stereotype.Controller[format=annotation] and javadoc:org.springframework.web.bind.annotation.RestController[format=annotation] endpoints at the cost of them not being available over JMX or when using a different web framework.
406407

0 commit comments

Comments
 (0)