批注接口 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
- 作者:
- Stephane Nicoll, Phillip Webb
-
可选元素概要
可选元素修饰符和类型可选元素说明Level of access to the endpoint that is permitted by default.boolean
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.4.0 for removal in 4.0.0 in favor ofThe id of the endpoint.
-
元素详细资料
-
id
The id of the endpoint.- 返回:
- the id
- 默认值:
""
-
enableByDefault
@Deprecated(since="3.4.0", forRemoval=true) @AliasFor(annotation=Endpoint.class) boolean enableByDefault已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.4.0 for removal in 4.0.0 in favor ofIf the endpoint should be enabled or disabled by default.- 返回:
true
if the endpoint is enabled by default
- 默认值:
true
-
defaultAccess
Level of access to the endpoint that is permitted by default.- 返回:
- the default level of access
- 从以下版本开始:
- 3.4.0
- 默认值:
UNRESTRICTED
-