注释类型 JmxEndpoint
@Target(TYPE) @Retention(RUNTIME) @Documented @Endpoint @FilteredEndpoint(org.springframework.boot.actuate.endpoint.jmx.annotation.JmxEndpointFilter.class) public @interface JmxEndpoint
Identifies a type as being an endpoint that is only exposed over JMX.- 从以下版本开始:
- 2.0.0
可选元素概要
可选元素 修饰符和类型 可选元素 说明 boolean
enableByDefault
If the endpoint should be enabled or disabled by default.String
id
The id of the endpoint.
元素详细资料
id
@AliasFor(annotation=Endpoint.class) String id
The id of the endpoint.- 返回:
- the id
- 默认值:
- ""
enableByDefault
@AliasFor(annotation=Endpoint.class) boolean enableByDefault
If the endpoint should be enabled or disabled by default.- 返回:
true
if the endpoint is enabled by default
- 默认值:
- true